From ee8bddbb1a320b886d39c5cfdb215544e6a7f0b9 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 19 Apr 2016 17:22:34 +0100 Subject: [PATCH] Allow tahoe to be run using 'python -m allmydata.scripts.runner'. Signed-off-by: Daira Hopwood --- src/allmydata/scripts/runner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/allmydata/scripts/runner.py b/src/allmydata/scripts/runner.py index 8df76e13f..f6f167fcd 100644 --- a/src/allmydata/scripts/runner.py +++ b/src/allmydata/scripts/runner.py @@ -166,3 +166,6 @@ def run(install_node_control=True): rc = 1 sys.exit(rc) + +if __name__ == "__main__": + run()