Fix syntax of docstrings, set project name when generating Python API documentation.
[ira/wip.git] / source / scripting / python / samba / upgrade.py
index b332bb89aed95b440d57f887feeaf833d68f48c1..8bf75d776e0fff9ebdcaa299b7b01c93214c43ad 100644 (file)
@@ -10,6 +10,7 @@
 from provision import findnss, provision, FILL_DRS
 import grp
 import ldb
+import time
 import pwd
 import uuid
 import registry
@@ -162,7 +163,6 @@ def import_wins(samba4_winsdb, samba3_winsdb):
     :param samba3_winsdb: WINS database to import from
     """
     version_id = 0
-    import time
 
     for (name, (ttl, ips, nb_flags)) in samba3_winsdb.items():
         version_id+=1