diff options
Diffstat (limited to 'Build/source/libs/zziplib/zziplib-src/docs/zzipdoc/textfileheader.py')
-rw-r--r-- | Build/source/libs/zziplib/zziplib-src/docs/zzipdoc/textfileheader.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/libs/zziplib/zziplib-src/docs/zzipdoc/textfileheader.py b/Build/source/libs/zziplib/zziplib-src/docs/zzipdoc/textfileheader.py index ceaa28e9908..c38c4be06ec 100644 --- a/Build/source/libs/zziplib/zziplib-src/docs/zzipdoc/textfileheader.py +++ b/Build/source/libs/zziplib/zziplib-src/docs/zzipdoc/textfileheader.py @@ -1,4 +1,6 @@ -from match import Match +from __future__ import print_function + +from zzipdoc.match import Match class TextFileHeader: """ scan for a comment block at the source file start and fill the @@ -17,7 +19,7 @@ class TextFileHeader: x = Match() text = self.textfile.get_src_text() if not text: - print "nonexistent file:", self.textfile.get_filename() + print("nonexistent file: " + self.textfile.get_filename()) return False if text & x(r"(?s)[/][*]+(\s(?:.(?!\*\/))*.)\*\/" r"(?:\s*\#(?:define|ifdef|endif)[ ]*\S*[ ]*\S*)*" |