s4:upgradeprovision - fix include order for "ldb"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 24 Jun 2010 07:06:49 +0000 (09:06 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 24 Jun 2010 08:04:52 +0000 (10:04 +0200)
Patch originally posted on the list by Matthieu Patou.

source4/scripting/bin/upgradeprovision

index b2478285ca632331d7d9e505db24263af7f6a0d9..9d29d4a76bc8f75d66a6f59856f3304322893a88 100755 (executable)
@@ -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