Commit 5fd2c0eb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Kirill Smelkov

define main() so that it can be scriptified by zc.recipe.egg.

parent d86d04dc
...@@ -138,6 +138,6 @@ def analyze_rec(report, record): ...@@ -138,6 +138,6 @@ def analyze_rec(report, record):
except Exception, err: except Exception, err:
print err print err
if __name__ == "__main__": def main():
path = sys.argv[1] path = sys.argv[1]
report(analyze(path)) report(analyze(path))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment