[meld] build_helpers: Fix python 2 print statement



commit f3d07fc977c9ae36c00fe2e29a7c460b45b76967
Author: Thomas Klausner <tk giga or at>
Date:   Tue Feb 25 06:55:03 2014 +1000

    build_helpers: Fix python 2 print statement

 meld/build_helpers.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/meld/build_helpers.py b/meld/build_helpers.py
index 120db68..6669497 100644
--- a/meld/build_helpers.py
+++ b/meld/build_helpers.py
@@ -18,6 +18,7 @@
 # Modified by Kai Willadsen for the Meld project
 # Copyright (C) 2013-2014 Kai Willadsen <kai willadsen gmail com>
 
+from __future__ import print_function
 
 import distutils.cmd
 import distutils.command.build
@@ -135,7 +136,7 @@ class build_help(distutils.cmd.Command):
             for page in pages:
                 page_path = os.path.join(build_path, page)
                 if not os.path.exists(page_path):
-                    print "Skipping missing file", page_path
+                    print("Skipping missing file", page_path)
                     continue
                 lint = ['xmllint', '--noout', '--noent', '--path', build_path,
                         '--xinclude', page_path]


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