summaryrefslogtreecommitdiff
path: root/src/backend/checkenv.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 19:37:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 19:37:11 +0000
commit4dda01f43e00a2412ee05595cb4d3ec559594f28 (patch)
tree9780c1a6d209a8089cbf374dc28c9c0f0cf83857 /src/backend/checkenv.py
parent180c2e119142573d42fe0e67a42b3530a7aed70b (diff)
systemBranch -> sys_brch; activeBranch -> act_brch; localBranch -> lcl_brch; remoteBranch -> rmt_brch
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 ce0e056..503df16 100644
--- a/src/backend/checkenv.py
+++ b/src/backend/checkenv.py
@@ -10,17 +10,17 @@ def root():
def sanity():
- activeBranch = sisyphus.getenv.systemBranch()
+ act_brch = sisyphus.getenv.sys_brch()
bh_addr = sisyphus.getenv.bh_addr()
isSane = int()
if "packages-next" in bh_addr:
- if activeBranch == "next":
+ if act_brch == "next":
isSane = int(1)
else:
isSane = int(0)
else:
- if activeBranch == "master":
+ if act_brch == "master":
isSane = int(1)
else:
isSane = int(0)