Thu, 29 Oct 2015 19:10:20 +0100
Fixed some incorrect string format strings using the new checker.
--- a/Plugins/VcsPlugins/vcsMercurial/hg.py Thu Oct 29 19:06:49 2015 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/hg.py Thu Oct 29 19:10:20 2015 +0100 @@ -2120,13 +2120,13 @@ if mode == "heads": info.append(QCoreApplication.translate( "mercurial", - """<tr><td><b>Head #{0}</b></td><td></td></tr>\n""" - .format(index, changeset))) + """<tr><td><b>Head #{0}</b></td><td></td></tr>\n""") + .format(index)) elif mode == "parents": info.append(QCoreApplication.translate( "mercurial", - """<tr><td><b>Parent #{0}</b></td><td></td></tr>\n""" - .format(index, changeset))) + """<tr><td><b>Parent #{0}</b></td><td></td></tr>\n""") + .format(index)) elif mode == "tip": info.append(QCoreApplication.translate( "mercurial",
--- a/Plugins/WizardPlugins/E5MessageBoxWizard/E5MessageBoxWizardDialog.py Thu Oct 29 19:06:49 2015 +0100 +++ b/Plugins/WizardPlugins/E5MessageBoxWizard/E5MessageBoxWizardDialog.py Thu Oct 29 19:10:20 2015 +0100 @@ -427,8 +427,7 @@ btnCode = ',{0}{1}E5MessageBox.StandardButtons('.format( os.linesep, istring) else: - btnCode = 'E5MessageBox.StandardButtons('.format( - os.linesep, istring) + btnCode = 'E5MessageBox.StandardButtons(' btnCode += '{0}{1}{2})'.format( os.linesep, istring2, joinstring.join(buttons))
--- a/install.py Thu Oct 29 19:06:49 2015 +0100 +++ b/install.py Thu Oct 29 19:10:20 2015 +0100 @@ -738,7 +738,7 @@ try: shutilCopy(name, cfg['ericDocDir']) except EnvironmentError: - print("Could not install '{1}'.".format(name)) + print("Could not install '{0}'.".format(name)) # copy some more stuff for name in ['default.e4k', 'default_Mac.e4k']: