Convert print statements to function calls in Tools/.

This commit is contained in:
Collin Winter 2007-08-03 17:06:41 +00:00
parent e5d0e8431f
commit 6afaeb757a
66 changed files with 777 additions and 779 deletions

View file

@ -52,12 +52,12 @@ def main():
lines.reverse()
for line in lines:
if prog.search(line):
print line
print(line)
def usage(msg, code=2):
sys.stdout = sys.stderr
print msg
print __doc__
print(msg)
print(__doc__)
sys.exit(code)
if __name__ == '__main__':