Fri, 15 Apr 2011 19:49:21 +0200
Fixed an issue in the syntax check routine for Python 3.
Utilities/__init__.py | file | annotate | diff | comparison | revisions |
--- 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: