Added code to safe-guard against self.__batch not being defined in the sytax check dialog.

Tue, 14 Mar 2017 11:42:43 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 14 Mar 2017 11:42:43 +0100
changeset 5609
5bf0aaa818e9
parent 5607
3bf41677d8ee
child 5610
3af522dbfbea

Added code to safe-guard against self.__batch not being defined in the sytax check dialog.

Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py file | annotate | diff | comparison | revisions
diff -r 3bf41677d8ee -r 5bf0aaa818e9 Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Sun Mar 12 11:20:35 2017 +0100
+++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Tue Mar 14 11:42:43 2017 +0100
@@ -57,6 +57,7 @@
         self.noResults = True
         self.cancelled = False
         self.__lastFileItem = None
+        self.__batch = False
         self.__finished = True
         self.__errorItem = None
         
@@ -172,6 +173,8 @@
         @param codestring string containing the code to be checked (string).
             If this is given, fn must be a single file name.
         """
+        self.__batch = False
+        
         if self.syntaxCheckService is not None:
             if self.__project is None:
                 self.__project = e5App().getObject("Project")

eric ide

mercurial