diff -r c8aae45afd85 -r c00f9665a9f8 tools/updaterevision.py --- a/tools/updaterevision.py Mon Aug 31 04:57:16 2015 +0300 +++ b/tools/updaterevision.py Mon Aug 31 20:50:12 2015 +0300 @@ -36,10 +36,10 @@ def main(): import subprocess from datetime import datetime - parser = argparser.ArgumentParser (description='Writes a header file with Hg commit information') + parser = argparse.ArgumentParser (description='Writes a header file with Hg commit information') parser.add_argument ('output') args = parser.parse_args() - f = OutputFile (args.output) + f = outputfile.OutputFile (args.output) data = subprocess.check_output (['hg', 'log', '-r.', '--template', '{node|short} {branch} {date|hgdate}']).replace ('\n', '').split (' ') @@ -64,4 +64,4 @@ print '%s updated to %s' % (f.filename, rev) if __name__ == '__main__': - main() \ No newline at end of file + main()