diff -r dd7c1558b1df -r d0915392cbd7 Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py --- a/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py Tue Jul 27 19:53:26 2010 +0200 +++ b/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py Wed Jul 28 09:10:19 2010 +0200 @@ -138,7 +138,7 @@ rev = "" self.__lastRev = 0 else: - rev = "%7d" % revision.number + rev = "{0:7d}".format(revision.number) self.__lastRev = revision.number if date == "": dt = "" @@ -158,7 +158,7 @@ if changedPath["copyfrom_revision"] is None: copyRev = "" else: - copyRev = "%7d" % changedPath["copyfrom_revision"].number + copyRev = "{0:7d}".format(changedPath["copyfrom_revision"].number) change = { "action" : changedPath["action"], "path" : changedPath["path"], @@ -475,7 +475,7 @@ fieldIndex = 0 txt = self.rxEdit.text() if txt.startswith("^"): - searchRx = QRegExp("^\s*%s" % txt[1:], Qt.CaseInsensitive) + searchRx = QRegExp("^\s*{0}".format(txt[1:]), Qt.CaseInsensitive) else: searchRx = QRegExp(txt, Qt.CaseInsensitive) else: