diff options
Diffstat (limited to 'src/backend/setMirror.py')
-rw-r--r-- | src/backend/setMirror.py | 6 |
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") |