diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-30 14:26:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-30 14:26:52 +0000 |
commit | 02b654dc089c570ce81ce5da0c2c48d5d21d3cb8 (patch) | |
tree | 2a32a8634b59efc8b9f28ec8d8732cdd6b3b3414 /src/backend/upgradePkg.py | |
parent | 331cd284de1de5f7192e1588b836f89337326784 (diff) |
move getEnvironment -> getenv
Diffstat (limited to 'src/backend/upgradePkg.py')
-rw-r--r-- | src/backend/upgradePkg.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/upgradePkg.py b/src/backend/upgradePkg.py index ec46cda..5110499 100644 --- a/src/backend/upgradePkg.py +++ b/src/backend/upgradePkg.py @@ -8,7 +8,7 @@ import subprocess import sys import wget import sisyphus.checkenv -import sisyphus.getEnvironment +import sisyphus.getenv import sisyphus.getFilesystem import sisyphus.killPortage import sisyphus.resolveDeps @@ -19,7 +19,7 @@ def cliExec(): if sisyphus.checkenv.root(): sisyphus.updateAll.cliExec() - binhostURL = sisyphus.getEnvironment.binhostURL() + binhostURL = sisyphus.getenv.binhostURL() areBinaries,areSources,needsConfig = sisyphus.resolveDeps.world() if needsConfig == 0: @@ -59,7 +59,7 @@ def cliExec(): sys.exit("\nYou need root permissions to do this, exiting!\n") def guiExec(): - binhostURL = sisyphus.getEnvironment.binhostURL() + binhostURL = sisyphus.getenv.binhostURL() areBinaries,areSources,needsConfig = sisyphus.resolveDeps.world.__wrapped__() #undecorate if not len(areSources) == 0: |