summaryrefslogtreecommitdiff
path: root/src/frontend/cli
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-15 20:02:44 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-15 20:02:44 +0100
commitac10326fcf926f11fd21f69efd896b5ead503b26 (patch)
tree5fc02b65f74bd4a6e5fe16d4fe563f45d821a462 /src/frontend/cli
parent0ce66b4deb653d31ac71a1a5020a12d7fed12f48 (diff)
reduce the number of database connections to speed things a bit, arrange the code a bitv1.1809
Diffstat (limited to 'src/frontend/cli')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py4
1 files changed, 2 insertions, 2 deletions
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: