summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-19 09:31:40 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-19 14:13:09 +0200
commitbe9378e41ec677eb36b262db7abf4ddcec6a0675 (patch)
tree207d3d5d24988c3273392c96e1a63212ec768177 /source4/scripting/python
parent036b23a1063066a0eb4878ddf047f655de77f3ca (diff)
downloadsamba-be9378e41ec677eb36b262db7abf4ddcec6a0675.tar.gz
samba-be9378e41ec677eb36b262db7abf4ddcec6a0675.tar.bz2
samba-be9378e41ec677eb36b262db7abf4ddcec6a0675.zip
s4-s3-upgrade fix format string for secrets.tdb exception
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/upgrade.py b/source4/scripting/python/samba/upgrade.py
index f9f7be1d99..2a2c17ec2c 100644
--- a/source4/scripting/python/samba/upgrade.py
+++ b/source4/scripting/python/samba/upgrade.py
@@ -473,7 +473,7 @@ def upgrade_from_samba3(samba3, logger, targetdir, session_info=None, useeadb=Fa
try:
secrets_db = samba3.get_secrets_db()
except IOError, e:
- raise ProvisioningError("Could not open '%s', the Samba3 secrets database: %s. Perhaps you specified the incorrect smb.conf, --testparm or --libdir option?" % samba3.privatedir_path("secrets.tdb"), str(e))
+ raise ProvisioningError("Could not open '%s', the Samba3 secrets database: %s. Perhaps you specified the incorrect smb.conf, --testparm or --libdir option?" % (samba3.privatedir_path("secrets.tdb"), str(e)))
if not domainname:
domainname = secrets_db.domains()[0]