diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-04-18 11:52:52 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-04-18 13:45:02 +0200 |
commit | 0e8224cf4b6d2a5ef6e8c7165dc6143db3cbc482 (patch) | |
tree | 5b090f39b251878aa32ea8f55ec2686bb7c9adb5 /whatmaps | |
parent | a785b391030e9a8936ae61c2de890082311a8c42 (diff) |
Use entrypoint
Diffstat (limited to 'whatmaps')
-rw-r--r-- | whatmaps/__init__.py | 0 | ||||
-rwxr-xr-x | whatmaps/command.py (renamed from whatmaps) | 3 |
2 files changed, 3 insertions, 0 deletions
diff --git a/whatmaps/__init__.py b/whatmaps/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/whatmaps/__init__.py diff --git a/whatmaps b/whatmaps/command.py index cca0701..98de395 100755 --- a/whatmaps +++ b/whatmaps/command.py @@ -602,6 +602,9 @@ def main(argv): return 0 +def run(): + return(main(sys.argv)) + if __name__ == '__main__': sys.exit(main(sys.argv)) |