Utilities/__init__.py

changeset 988
bd4a19f81396
parent 945
8cd4d08fa9f6
child 1109
9552b5e16a07
--- a/Utilities/__init__.py	Fri Apr 15 18:53:04 2011 +0200
+++ b/Utilities/__init__.py	Fri Apr 15 19:49:21 2011 +0200
@@ -1097,7 +1097,7 @@
         try:
             codestring = readEncodedFile(file)[0]
         except (UnicodeDecodeError, IOError):
-            return (False, None, None, None, None)
+            return (False, None, None, None, None, None)
 
     codestring = codestring.replace("\r\n", "\n")
     codestring = codestring.replace("\r", "\n")
@@ -1110,7 +1110,7 @@
             try:
                 import quixote.ptl_compile
             except ImportError:
-                return (False, None, None, None, None)
+                return (False, None, None, None, None, None)
             template = quixote.ptl_compile.Template(codestring, file)
             template.compile()
         else:

eric ide

mercurial