summaryrefslogtreecommitdiff
path: root/src/backend/checkenv.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-11 05:32:19 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-11 05:32:19 +0000
commita9d87ee5bd0c98b6daae9ddf307c634da9c35551 (patch)
tree3ae25a65b1511d7a9368fa21b4779a6880a132b7 /src/backend/checkenv.py
parent4edf9a7f554f183ccc34b0e57e734a2cbd6f5b9d (diff)
run autopep8 on the code
Diffstat (limited to 'src/backend/checkenv.py')
-rw-r--r--src/backend/checkenv.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/checkenv.py b/src/backend/checkenv.py
index 6c0be73..c8152bf 100644
--- a/src/backend/checkenv.py
+++ b/src/backend/checkenv.py
@@ -10,17 +10,17 @@ def root():
def sanity():
- act_brch = sisyphus.getenv.sys_brch()
- bh_addr = sisyphus.getenv.bh_addr()
+ actv_brch = sisyphus.getenv.sys_brch()
+ bhst_addr = sisyphus.getenv.bhst_addr()
is_sane = int()
- if "packages-next" in bh_addr:
- if act_brch == "next":
+ if "packages-next" in bhst_addr:
+ if actv_brch == "next":
is_sane = int(1)
else:
is_sane = int(0)
else:
- if act_brch == "master":
+ if actv_brch == "master":
is_sane = int(1)
else:
is_sane = int(0)