From: Douglas Bagnall Date: Fri, 26 Oct 2018 07:08:31 +0000 (+1300) Subject: dbcheck: fix message formatting X-Git-Tag: tdb-1.3.17~1037 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9057b1c45e66698dd86bc3fd830e6c7533d59c45;p=thirdparty%2Fsamba.git dbcheck: fix message formatting previously these would have raised an exception Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- 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?'