--- a/PluginManager/PluginUninstallDialog.py Tue Jul 27 12:44:19 2010 +0200 +++ b/PluginManager/PluginUninstallDialog.py Tue Jul 27 12:49:37 2010 +0200 @@ -61,7 +61,7 @@ pluginNames = sorted(self.__pluginManager.getPluginModules(pluginDirectory)) self.pluginNameCombo.clear() for pluginName in pluginNames: - fname = "%s.py" % os.path.join(pluginDirectory, pluginName) + fname = "{0}.py".format(os.path.join(pluginDirectory, pluginName)) self.pluginNameCombo.addItem(pluginName, fname) self.buttonBox.button(QDialogButtonBox.Ok)\ .setEnabled(self.pluginNameCombo.currentText() != "") @@ -129,11 +129,11 @@ if packageDir and os.path.exists(packageDir): shutil.rmtree(packageDir) - fnameo = "%so" % pluginFile + fnameo = "{0}o".format(pluginFile) if os.path.exists(fnameo): os.remove(fnameo) - fnamec = "%sc" % pluginFile + fnamec = "{0}c".format(pluginFile) if os.path.exists(fnamec): os.remove(fnamec)