Browse Source

Move change to sys.path ahead of import from bind10_config

Shane Kerr 12 years ago
parent
commit
fb2e8b3a65
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/usermgr/b10-cmdctl-usermgr.py.in

+ 1 - 1
src/bin/usermgr/b10-cmdctl-usermgr.py.in

@@ -19,6 +19,7 @@
 This tool implements user management for b10-cmdctl. It is used to
 add and remove users from the accounts file.
 '''
+import sys; sys.path.append ('@@PYTHONPATH@@')
 from bind10_config import SYSCONFPATH
 from collections import OrderedDict
 import random
@@ -27,7 +28,6 @@ import csv
 import getpass
 from optparse import OptionParser, OptionValueError
 import os
-import sys; sys.path.append ('@@PYTHONPATH@@')
 import isc.util.process
 
 isc.util.process.rename()