summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/upgradeprovision
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-24 09:06:49 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-24 10:04:52 +0200
commit560620a53df66ddbaa273afc9db796fc7562b53d (patch)
tree8ee8dde70d341f521d551c13ae1175e80d3c67e7 /source4/scripting/bin/upgradeprovision
parente228b67e56ab63414055e64455a97ea0643803e2 (diff)
downloadsamba-560620a53df66ddbaa273afc9db796fc7562b53d.tar.gz
samba-560620a53df66ddbaa273afc9db796fc7562b53d.tar.bz2
samba-560620a53df66ddbaa273afc9db796fc7562b53d.zip
s4:upgradeprovision - fix include order for "ldb"
Patch originally posted on the list by Matthieu Patou.
Diffstat (limited to 'source4/scripting/bin/upgradeprovision')
-rwxr-xr-xsource4/scripting/bin/upgradeprovision2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index b2478285ca..9d29d4a76b 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -22,7 +22,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-import ldb
import logging
import optparse
import os
@@ -34,6 +33,7 @@ import traceback
# Allow to run from s4 source directory (without installing samba)
sys.path.insert(0, "bin/python")
+import ldb
import samba
import samba.getopt as options
from samba.credentials import DONT_USE_KERBEROS