[commit: ghc] master: Fix broken linters when using python3 (8f28797)

git at git.haskell.org git at git.haskell.org
Sat Dec 5 06:13:06 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8f2879794a75aad64b5998227c81c2ef569be35f/ghc

>---------------------------------------------------------------

commit 8f2879794a75aad64b5998227c81c2ef569be35f
Author: David Kraeutmann <kane at kane.cx>
Date:   Sat Dec 5 00:13:08 2015 -0600

    Fix broken linters when using python3
    
    Reviewed By: austin
    
    Differential Revision: https://phabricator.haskell.org/D1574


>---------------------------------------------------------------

8f2879794a75aad64b5998227c81c2ef569be35f
 .arc-linters/check-binaries.py | 2 +-
 .arc-linters/check-cpp.py      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.arc-linters/check-binaries.py b/.arc-linters/check-binaries.py
index ae00756..9125985 100755
--- a/.arc-linters/check-binaries.py
+++ b/.arc-linters/check-binaries.py
@@ -17,4 +17,4 @@ if os.path.isfile(path):
             }
             warnings.append(warning)
 
-print json.dumps(warnings)
+print(json.dumps(warnings))
diff --git a/.arc-linters/check-cpp.py b/.arc-linters/check-cpp.py
index 3794ca2..c58da09 100755
--- a/.arc-linters/check-cpp.py
+++ b/.arc-linters/check-cpp.py
@@ -34,4 +34,4 @@ if os.path.isfile(path):
                 warnings.append(warning)
 
 logger.debug(warnings)
-print json.dumps(warnings)
+print(json.dumps(warnings))



More information about the ghc-commits mailing list