Wed, 20 Oct 2010 21:00:31 +0200
Fixed some py3flakes warnings.
diff -r 614babee9ae9 -r e4b2b0a27b4c Preferences/ConfigurationPages/EditorHighlightersPage.py --- 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)
diff -r 614babee9ae9 -r e4b2b0a27b4c Preferences/ConfigurationPages/EditorKeywordsPage.py --- 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
diff -r 614babee9ae9 -r e4b2b0a27b4c Project/LexerAssociationDialog.py --- 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)
diff -r 614babee9ae9 -r e4b2b0a27b4c UI/DiffDialog.py --- 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"),