summaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py4
-rw-r--r--src/frontend/gui/sisyphus-gui.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py
index 3124fd0..4a514c8 100755
--- a/src/frontend/cli/sisyphus-cli.py
+++ b/src/frontend/cli/sisyphus-cli.py
@@ -277,12 +277,12 @@ def sysinfo():
@mirrorSetup.command("list")
def mirrorlist():
"""List available binary package repository mirrors (the active one is marked with *)."""
- sisyphus.setMirror.printList()
+ sisyphus.mirrors.printList()
@mirrorSetup.command("set")
def mirrorset(index: int):
"""Change the binary package repository to the selected mirror."""
- sisyphus.setMirror.setActive(index)
+ sisyphus.mirrors.setActive(index)
if __name__ == "__main__":
if len(sys.argv) > 1 and not '--help' in sys.argv:
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index 020c47c..5b054e4 100644
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -320,7 +320,7 @@ class MirrorConfiguration(QtWidgets.QMainWindow):
super(MirrorConfiguration, self).__init__()
uic.loadUi('/usr/share/sisyphus/ui/mirrorcfg.ui', self)
self.centerOnScreen()
- self.MIRRORLIST = sisyphus.setMirror.getList()
+ self.MIRRORLIST = sisyphus.mirrors.getList()
self.updateMirrorList()
self.applyButton.pressed.connect(self.mirrorCfgApply)
self.applyButton.released.connect(self.mirrorCfgExit)
@@ -351,7 +351,7 @@ class MirrorConfiguration(QtWidgets.QMainWindow):
self.MIRRORLIST[self.ACTIVEMIRRORINDEX]['isActive'] = True
def mirrorCfgApply(self):
- sisyphus.setMirror.writeList(self.MIRRORLIST)
+ sisyphus.mirrors.writeList(self.MIRRORLIST)
def mirrorCfgExit(self):
self.close()