-
Notifications
You must be signed in to change notification settings - Fork 336
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
Build scripts have syntax errors in python #118
Comments
If you are going to ask me to submit a PR, tell me which repo it is. |
The Python issues were always dependent on what Python version is used on the build box. So I'm not positive that making the change you suggest would break anything or not. But according to the error message, the issue is in vendor_omni, isn't it? |
According to the path it is in vendor/omni. The rest of the script uses print() which is a python3 style of print. |
|
File "/home/other/Soyes/TWRP/build/vendor/omni/build/tools/roomservice.py", line 109
except IOError, ES.ParseError:
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
File "/home/other/Soyes/TWRP/build/vendor/omni/build/tools/roomservice.py", line 166
except IOError, ES.ParseError:
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
Easily fixed by putting () around the exceptions on line 109 and 166.
The text was updated successfully, but these errors were encountered: