diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2018-10-26 20:08:31 +1300 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-11-01 05:08:10 +0100 |
commit | 9057b1c45e66698dd86bc3fd830e6c7533d59c45 (patch) | |
tree | bbc676ee44e4cc0f95b48c4cf92b82df75ab4a24 /python/samba/dbchecker.py | |
parent | 2fedb9502238009522cdb12ce6f131f46be82662 (diff) | |
download | samba-9057b1c45e66698dd86bc3fd830e6c7533d59c45.tar.gz |
dbcheck: fix message formatting
previously these would have raised an exception
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'python/samba/dbchecker.py')
-rw-r--r-- | python/samba/dbchecker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/samba/dbchecker.py b/python/samba/dbchecker.py index c70ca7bc212..64c3ffa3f58 100644 --- a/python/samba/dbchecker.py +++ b/python/samba/dbchecker.py @@ -1099,7 +1099,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base))) return (missing_forward_links, error_count) if forward_syntax != ldb.SYNTAX_DN: - self.report("Not checking for missing forward links for syntax: %s", + self.report("Not checking for missing forward links for syntax: %s" % forward_syntax) return (missing_forward_links, error_count) @@ -1971,7 +1971,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base))) target = self.samdb.get_dsServiceName() if self.samdb.am_rodc(): - self.report('Not fixing %s for the RODC' % (attr, obj.dn)) + self.report('Not fixing %s %s for the RODC' % (attr, obj.dn)) return if not self.confirm_all('Add yourself to the replica locations for %s?' |