diff options
Diffstat (limited to 'itstool.in')
-rwxr-xr-x | itstool.in | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1495,7 +1495,8 @@ def convert_locale (locale): return ret -def main(): +#def main(): +if __name__ == '__main__': options = optparse.OptionParser() options.set_usage('\n itstool [OPTIONS] [XMLFILES]\n' + ' itstool -m <MOFILE> [OPTIONS] [XMLFILES]\n' + @@ -1682,9 +1683,9 @@ def main(): out.write(serialized) out.flush() -if __name__ == '__main__': - if os.getenv('ITSTOOL_PROFILE') is not None: - import cProfile - cProfile.run('main()') - else: - main() +#if __name__ == '__main__': +# if os.getenv('ITSTOOL_PROFILE') is not None: +# import cProfile +# cProfile.run('main()') +# else: +# main() |