Plugins/CheckerPlugins/Pep8/Pep8CodeSelectionDialog.py

changeset 2404
cba0ff902c2b
parent 2302
f29e9405c851
child 2525
8b507a9a2d40
child 2894
8e4264045fc9
--- a/Plugins/CheckerPlugins/Pep8/Pep8CodeSelectionDialog.py	Sun Feb 10 18:31:31 2013 +0100
+++ b/Plugins/CheckerPlugins/Pep8/Pep8CodeSelectionDialog.py	Sun Feb 10 18:53:47 2013 +0100
@@ -11,7 +11,6 @@
 from PyQt4.QtGui import QDialog, QTreeWidgetItem
 
 from . import pep8
-from .Pep8Fixer import Pep8FixableIssues
 
 from .Ui_Pep8CodeSelectionDialog import Ui_Pep8CodeSelectionDialog
 
@@ -35,6 +34,7 @@
         codeList = [code.strip() for code in codes.split(",") if code.strip()]
         
         if showFixCodes:
+            from .Pep8Fixer import Pep8FixableIssues
             selectableCodes = Pep8FixableIssues
         else:
             selectableCodes = pep8.pep8_messages.keys()

eric ide

mercurial