From 69912f86329adf4df6c50741ca3f3635dd0cac0d Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 26 Dec 2016 10:05:25 +0100 Subject: Add simple helper to run from working copy since running whatmaps/command.py doesn't work with python3 --- run.py | 7 +++++++ whatmaps/command.py | 4 ---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100755 run.py diff --git a/run.py b/run.py new file mode 100755 index 0000000..3549cbb --- /dev/null +++ b/run.py @@ -0,0 +1,7 @@ +#!/usr/bin/env python3 + +import sys +from whatmaps.command import run + +if __name__ == '__main__': + sys.exit(run()) diff --git a/whatmaps/command.py b/whatmaps/command.py index 74d85da..7c9b476 100755 --- a/whatmaps/command.py +++ b/whatmaps/command.py @@ -259,8 +259,4 @@ def main(argv): def run(): return(main(sys.argv)) - -if __name__ == '__main__': - sys.exit(main(sys.argv)) - # vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: -- cgit v1.2.3