A little optimazation to the code style fixer.

Tue, 01 Oct 2013 18:22:33 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 01 Oct 2013 18:22:33 +0200
changeset 2976
393f5faaa017
parent 2975
fb336783a649
child 2978
9d63132a23e0

A little optimazation to the code style fixer.

Plugins/CheckerPlugins/Pep8/Pep8Fixer.py file | annotate | diff | comparison | revisions
--- a/Plugins/CheckerPlugins/Pep8/Pep8Fixer.py	Tue Oct 01 18:21:30 2013 +0200
+++ b/Plugins/CheckerPlugins/Pep8/Pep8Fixer.py	Tue Oct 01 18:22:33 2013 +0200
@@ -1493,8 +1493,9 @@
             a message for the fix (string) and an ID for a deferred
             fix (integer)
         """
-        multilineStringLines, docStringLines = self.__multilineStringLines()
         if apply:
+            multilineStringLines, docStringLines = \
+                self.__multilineStringLines()
             isDocString = line in docStringLines
             line = line - 1
             text = self.__source[line]

eric ide

mercurial