summaryrefslogtreecommitdiff
path: root/src/backend/checkenv.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 20:02:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 20:02:58 +0000
commit206c993e45c39e60eceae1f66c69d39903ab9266 (patch)
tree96e15cacf4f5ad804fb97f0fb37584c6d064acfd /src/backend/checkenv.py
parent80d633d0738461d7715e5051ab7f3248068fa87e (diff)
space functions a bit
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()