summaryrefslogtreecommitdiff
path: root/src/backend/checkenv.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/checkenv.py
parent02b654dc089c570ce81ce5da0c2c48d5d21d3cb8 (diff)
move getFilesystem -> getfs
Diffstat (limited to 'src/backend/checkenv.py')
-rw-r--r--src/backend/checkenv.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/checkenv.py b/src/backend/checkenv.py
index feaab4b..053fc52 100644
--- a/src/backend/checkenv.py
+++ b/src/backend/checkenv.py
@@ -3,7 +3,7 @@
import os
import subprocess
import sisyphus.getenv
-import sisyphus.getFilesystem
+import sisyphus.getfs
def root():
return True if os.getuid() == 0 else False
@@ -11,8 +11,8 @@ def root():
def branch():
activeBranch = None
- if os.path.isdir(os.path.join(sisyphus.getFilesystem.gentooRepoDir, '.git')):
- os.chdir(sisyphus.getFilesystem.gentooRepoDir)
+ if os.path.isdir(os.path.join(sisyphus.getfs.gentooRepoDir, '.git')):
+ os.chdir(sisyphus.getfs.gentooRepoDir)
localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
if localBranch.decode().strip() == 'master':