mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-21 21:26:03 +01:00
Make proton, gen_wrapper and user_settings python scripts version-agnostic
This commit is contained in:
parent
2863402e9e
commit
9c3667c083
4 changed files with 18 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python2
|
||||
#!/usr/bin/env python
|
||||
|
||||
#NOTE: If you make modifications here, consider whether they should
|
||||
#be duplicated in ../vrclient/gen_wrapper.py
|
||||
|
|
@ -502,7 +502,7 @@ for sdkver in sdk_versions:
|
|||
|
||||
diagnostics = list(tu.diagnostics)
|
||||
if len(diagnostics) > 0:
|
||||
print 'There were parse errors'
|
||||
print('There were parse errors')
|
||||
pprint.pprint(diagnostics)
|
||||
else:
|
||||
children = list(tu.cursor.get_children())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue