chenriang / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

syntax error in xcodeproj_file.py #479

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python -c 'import compileall, sys; sys.exit(not 
compileall.compile_file("./pylib/gyp/xcodeproj_file.py"))'
2.
3.

What is the expected output? What do you see instead?
expecting to see no errors on byte-compiling. but:
Compiling ./pylib/gyp/xcodeproj_file.py ...
  File "./pylib/gyp/xcodeproj_file.py", line 2761
    return True if symroots else return inherit_unique_symroot
                                      ^
SyntaxError: invalid syntax

What version of the product are you using? On what operating system?
the file is from r2037, with python 2.7 on Fedora 21.

Please provide any additional information below.
proposed patch is attached.

Original issue reported on code.google.com by ak...@tagoh.org on 2 Mar 2015 at 10:29

Attachments: