Unverified Commit a6362228 by John Kessenich Committed by GitHub

Merge pull request #1133 from greg-lunarg/kg2

Add python3 compatibility to update_glslang_sources.py
parents 258b700f 3f9c03bd
...@@ -141,7 +141,7 @@ def main(): ...@@ -141,7 +141,7 @@ def main():
# Create the subdirectories in sorted order so that parent git repositories # Create the subdirectories in sorted order so that parent git repositories
# are created first. # 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)) print('Get {n}\n'.format(n=c.name))
c.Checkout() c.Checkout()
sys.exit(0) sys.exit(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment