mirror of
https://github.com/KhronosGroup/glslang
synced 2024-09-19 12:19:53 +00:00
Add python3 compatibility to update_glslang_sources.py
This commit is contained in:
parent
258b700f59
commit
3f9c03bd82
@ -141,7 +141,7 @@ def main():
|
||||
|
||||
# Create the subdirectories in sorted order so that parent git repositories
|
||||
# are created first.
|
||||
for c in sorted(commits, cmp=lambda x,y: cmp(x.subdir, y.subdir)):
|
||||
for c in sorted(commits, key=lambda x: x.subdir):
|
||||
print('Get {n}\n'.format(n=c.name))
|
||||
c.Checkout()
|
||||
sys.exit(0)
|
||||
|
Loading…
Reference in New Issue
Block a user