Commit aec028fd authored by Robert Bradshaw's avatar Robert Bradshaw

Fix print statement.

parent 363bc162
...@@ -126,7 +126,7 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan ...@@ -126,7 +126,7 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan
pgen = find_executable( pgen = find_executable(
'pgen', os.pathsep.join([os.environ['PATH'], os.path.join(get_python_inc(), '..', 'Parser')])) 'pgen', os.pathsep.join([os.environ['PATH'], os.path.join(get_python_inc(), '..', 'Parser')]))
if not pgen: if not pgen:
print "Unable to find pgen, not compiling formal grammar." print ("Unable to find pgen, not compiling formal grammar.")
else: else:
parser_dir = os.path.join(os.path.dirname(__file__), 'Cython', 'Parser') parser_dir = os.path.join(os.path.dirname(__file__), 'Cython', 'Parser')
grammar = os.path.join(parser_dir, 'Grammar') grammar = os.path.join(parser_dir, 'Grammar')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment