Forráskód Böngészése

Use the print() function in Makefile.

Use the print() function rather than the print statement in the
Makefile.
Michael K 11 éve
szülő
commit
11de0efd13
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -2,7 +2,7 @@ PYTHON = python
 PYLINT = pylint
 SETUP = $(PYTHON) setup.py
 PYDOCTOR ?= pydoctor
-ifeq ($(shell $(PYTHON) -c "import sys; print sys.version_info >= (2, 7)"),True)
+ifeq ($(shell $(PYTHON) -c "import sys; print(sys.version_info >= (2, 7))"),True)
 TESTRUNNER ?= unittest
 else
 TESTRUNNER ?= unittest2.__main__