move generator to python3

master
George Hotz 2019-09-26 17:37:00 -07:00
parent 9efff4086c
commit f3b573559f
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
import os
import re
@ -40,10 +40,10 @@ for dir_name, _, filenames in os.walk(cur_path):
if dir_name == cur_path:
continue
print dir_name
print(dir_name)
for filename in filenames:
if filename.startswith('_'):
continue
print filename
print(filename)
create_dbc(dir_name, filename)