samba-tool/upgrade: Fix exception thrown during upgrade from samba3
authorKamen Mazdrashki <kamenim@samba.org>
Mon, 21 Apr 2014 01:47:40 +0000 (03:47 +0200)
committerKamen Mazdrashki <kamenim@samba.org>
Tue, 22 Apr 2014 21:34:15 +0000 (23:34 +0200)
Change-Id: Ib486c0c7a68c53c61acdf270f966a43b1c61bace
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
python/samba/upgrade.py

index 7eca5b6e5d4b63dc5396160b630696ff465b6b10..11a66a611613cb75cf935b19d22a0044e06c9f9b 100644 (file)
@@ -666,7 +666,7 @@ Please fix this account before attempting to upgrade again
             try:
                 ldb_object = Ldb(url, credentials=creds)
             except ldb.LdbError, e:
-                raise ProvisiongError("Could not open ldb connection to %s, the error message is: %s" % (url, e))
+                raise ProvisioningError("Could not open ldb connection to %s, the error message is: %s" % (url, e))
             else:
                 break
     logger.info("Exporting posix attributes")