From ac10326fcf926f11fd21f69efd896b5ead503b26 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 15 Sep 2018 20:02:44 +0100 Subject: reduce the number of database connections to speed things a bit, arrange the code a bit --- src/frontend/cli/sisyphus-cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend/cli/sisyphus-cli.py') diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index 9d347ab..d5febd9 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -31,10 +31,10 @@ if "__main__" == __name__: sysInfo() elif "mirror" in sys.argv[1:]: if "list" in sys.argv[2:]: - listRepo() + printMirrorList() elif "set" in sys.argv[2:]: if sys.argv[3:]: - setRepo(sys.argv[3:]) + setActiveMirror(sys.argv[3:]) else: showHelp() else: -- cgit v1.2.3