summaryrefslogtreecommitdiff
path: root/src/backend/setMirror.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 14:31:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 14:31:44 +0000
commit129031c9155d03890ef66f00be1ab60f63327c35 (patch)
treea01810eae7ff87f1bc0836bf74ef9d921feb85e2 /src/backend/setMirror.py
parent02b654dc089c570ce81ce5da0c2c48d5d21d3cb8 (diff)
move getFilesystem -> getfs
Diffstat (limited to 'src/backend/setMirror.py')
-rw-r--r--src/backend/setMirror.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/setMirror.py b/src/backend/setMirror.py
index b2d4f1f..ad02f58 100644
--- a/src/backend/setMirror.py
+++ b/src/backend/setMirror.py
@@ -1,11 +1,11 @@
#!/usr/bin/python3
-import sisyphus.getFilesystem
+import sisyphus.getfs
def getList():
mirrorList = []
- with open(sisyphus.getFilesystem.mirrorCfg) as mirrorFile:
+ with open(sisyphus.getfs.mirrorCfg) as mirrorFile:
for line in mirrorFile.readlines():
if 'PORTAGE_BINHOST=' in line:
url = line.split("=")[1].replace('"', '').rstrip()
@@ -27,7 +27,7 @@ def printList():
print(i + 1, ' ', line['Url'])
def writeList(mirrorList):
- with open(sisyphus.getFilesystem.mirrorCfg, 'w+') as mirrorFile:
+ with open(sisyphus.getfs.mirrorCfg, 'w+') as mirrorFile:
mirrorFile.write("#######################################################\n")
mirrorFile.write("# Support for multiple mirrors is somewhat incomplete #\n")
mirrorFile.write("#######################################################\n")