Commit 88cd32df authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

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

parent f75eb99c
...@@ -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