Commit e68792c5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

make zodbanalyze/__init__.py callable standalone.

parent 9aaf6a34
...@@ -197,3 +197,6 @@ def main(): ...@@ -197,3 +197,6 @@ def main():
usage(sys.stdout) usage(sys.stdout)
sys.exit() sys.exit()
report(analyze(path, use_dbm), csv) report(analyze(path, use_dbm), csv)
if __name__ == "__main__":
main()
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