##// END OF EJS Templates
contrib: tweak import-checker to always use bytes for module names...
Augie Fackler -
r40515:90517fad default
parent child Browse files
Show More
@@ -696,7 +696,7 b' def sources(f, modname):'
696 if py or f.endswith('.t'):
696 if py or f.endswith('.t'):
697 with open(f, 'rb') as src:
697 with open(f, 'rb') as src:
698 for script, modname, t, line in embedded(f, modname, src):
698 for script, modname, t, line in embedded(f, modname, src):
699 yield script, modname, t, line
699 yield script, modname.encode('utf8'), t, line
700
700
701 def main(argv):
701 def main(argv):
702 if len(argv) < 2 or (argv[1] == '-' and len(argv) > 2):
702 if len(argv) < 2 or (argv[1] == '-' and len(argv) > 2):
General Comments 0
You need to be logged in to leave comments. Login now