[gimp-help-2/gimp-help-2-8] xml2po.py: Add paranthesises around argument to print



commit a6dfe23d784f971fd8884762cca0912d6f8b6820
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri Apr 28 13:33:05 2017 +0200

    xml2po.py: Add paranthesises around argument to print
    
    SyntaxError: Missing parentheses in call to 'print'
    make: *** [pot/appendix.pot] Error 1

 tools/xml2po.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/xml2po.py b/tools/xml2po.py
index 57904ea..3953065 100755
--- a/tools/xml2po.py
+++ b/tools/xml2po.py
@@ -141,7 +141,7 @@ def main(argv):
         elif opt in ('-o', '--output'):
             output = arg
         elif opt in ('-v', '--version'):
-            print VERSION
+            print(VERSION)
             sys.exit(0)
         elif opt in ('-h', '--help'):
             usage(True)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]