Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax error in xcodeproj_file.py #479

Open
GoogleCodeExporter opened this issue Aug 5, 2015 · 0 comments
Open

syntax error in xcodeproj_file.py #479

GoogleCodeExporter opened this issue Aug 5, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant