Wed, 20 Oct 2010 21:00:31 +0200
Fixed some py3flakes warnings.
--- a/Preferences/ConfigurationPages/EditorHighlightersPage.py Wed Oct 20 08:40:46 2010 +0200 +++ b/Preferences/ConfigurationPages/EditorHighlightersPage.py Wed Oct 20 21:00:31 2010 +0200 @@ -89,7 +89,7 @@ index = self.editorLexerList.indexOfTopLevelItem(itmList[0]) itm = self.editorLexerList.takeTopLevelItem(index) del itm - itm = QTreeWidgetItem(self.editorLexerList, [ext, lexer]) + QTreeWidgetItem(self.editorLexerList, [ext, lexer]) self.editorFileExtEdit.clear() self.editorLexerCombo.setCurrentIndex(0) self.pygmentsLexerCombo.setCurrentIndex(0)
--- a/Preferences/ConfigurationPages/EditorKeywordsPage.py Wed Oct 20 08:40:46 2010 +0200 +++ b/Preferences/ConfigurationPages/EditorKeywordsPage.py Wed Oct 20 21:00:31 2010 +0200 @@ -8,7 +8,6 @@ """ from PyQt4.QtCore import pyqtSlot -from PyQt4.QtGui import QWidget from .ConfigurationPageBase import ConfigurationPageBase from .Ui_EditorKeywordsPage import Ui_EditorKeywordsPage
--- a/Project/LexerAssociationDialog.py Wed Oct 20 08:40:46 2010 +0200 +++ b/Project/LexerAssociationDialog.py Wed Oct 20 21:00:31 2010 +0200 @@ -78,7 +78,7 @@ index = self.editorLexerList.indexOfTopLevelItem(itmList[0]) itm = self.editorLexerList.takeTopLevelItem(index) del itm - itm = QTreeWidgetItem(self.editorLexerList, [ext, lexer]) + QTreeWidgetItem(self.editorLexerList, [ext, lexer]) self.editorFileExtEdit.clear() self.editorLexerCombo.setCurrentIndex(0) self.pygmentsLexerCombo.setCurrentIndex(0)
--- a/UI/DiffDialog.py Wed Oct 20 08:40:46 2010 +0200 +++ b/UI/DiffDialog.py Wed Oct 20 21:00:31 2010 +0200 @@ -284,7 +284,7 @@ if not ext: ex = selectedFilter.split("(*")[1].split(")")[0] if ex: - fileName += ex + fname += ex if QFileInfo(fname).exists(): res = QMessageBox.warning(self, self.trUtf8("Save Diff"),