Commit f33abff0 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Kirill Smelkov

make zodbanalyze/__init__.py callable standalone.

parent 2e834aaf
...@@ -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