Skip to content
Snippets Groups Projects
Commit 3f9c03bd authored by GregF's avatar GregF
Browse files

Add python3 compatibility to update_glslang_sources.py

parent 258b700f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment