summaryrefslogtreecommitdiff
path: root/src/backend/checkenv.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/checkenv.py')
-rw-r--r--src/backend/checkenv.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/checkenv.py b/src/backend/checkenv.py
index 053fc52..1bf0b52 100644
--- a/src/backend/checkenv.py
+++ b/src/backend/checkenv.py
@@ -5,9 +5,11 @@ import subprocess
import sisyphus.getenv
import sisyphus.getfs
+
def root():
return True if os.getuid() == 0 else False
+
def branch():
activeBranch = None
@@ -21,7 +23,8 @@ def branch():
if localBranch.decode().strip() == 'next':
activeBranch = str('next')
- return activeBranch
+ return activeBranch
+
def sanity():
activeBranch = branch()