summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/__init__.py2
-rw-r--r--src/backend/mirrors.py (renamed from src/backend/setMirror.py)0
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py4
-rw-r--r--src/frontend/gui/sisyphus-gui.py4
4 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/__init__.py b/src/backend/__init__.py
index 3cd1b2e..19276cc 100644
--- a/src/backend/__init__.py
+++ b/src/backend/__init__.py
@@ -4,13 +4,13 @@ from .getenv import *
from .getfs import *
from .install import *
from .killemerge import *
+from .mirrors import *
from .purgeenv import *
from .recoverdb import *
from .solvedeps import *
from .search import *
from .setbranch import *
from .setjobs import *
-from .setMirror import *
from .setprofile import *
from .syncdb import *
from .syncenv import *
diff --git a/src/backend/setMirror.py b/src/backend/mirrors.py
index ad02f58..ad02f58 100644
--- a/src/backend/setMirror.py
+++ b/src/backend/mirrors.py
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()