summaryrefslogtreecommitdiff
path: root/src/backend/checkenv.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 20:18:46 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 20:18:46 +0000
commit7fc4f9f40d1f1a45164759d796da94c18aa1f51a (patch)
treea530c096ee3f6d2c88d7c40f894afbe4ec4bd61d /src/backend/checkenv.py
parentec7deec5b851d582f7ada4803033d5044673ecf3 (diff)
isSane -> is_sane; needsConfig -> need_cfg; isBinary -> is_bin; isSource -> is_src; areBinaries -> bin_list; areSources -> src_list
Diffstat (limited to 'src/backend/checkenv.py')
-rw-r--r--src/backend/checkenv.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/checkenv.py b/src/backend/checkenv.py
index 503df16..6c0be73 100644
--- a/src/backend/checkenv.py
+++ b/src/backend/checkenv.py
@@ -12,17 +12,17 @@ def root():
def sanity():
act_brch = sisyphus.getenv.sys_brch()
bh_addr = sisyphus.getenv.bh_addr()
- isSane = int()
+ is_sane = int()
if "packages-next" in bh_addr:
if act_brch == "next":
- isSane = int(1)
+ is_sane = int(1)
else:
- isSane = int(0)
+ is_sane = int(0)
else:
if act_brch == "master":
- isSane = int(1)
+ is_sane = int(1)
else:
- isSane = int(0)
+ is_sane = int(0)
- return isSane
+ return is_sane