summaryrefslogtreecommitdiff
path: root/src/backend/getenv.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/getenv.py')
-rw-r--r--src/backend/getenv.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/getenv.py b/src/backend/getenv.py
index 0dc2ec6..13b3831 100644
--- a/src/backend/getenv.py
+++ b/src/backend/getenv.py
@@ -38,18 +38,18 @@ def csv_addr():
return pcsv_addr, dcsv_addr
-def systemBranch():
- activeBranch = None
+def sys_brch():
+ act_brch = None
if os.path.isdir(os.path.join(sisyphus.getfs.gentooRepoDir, '.git')):
os.chdir(sisyphus.getfs.gentooRepoDir)
- localBranch = subprocess.check_output(
+ lcl_brch = subprocess.check_output(
['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
- if localBranch.decode().strip() == 'master':
- activeBranch = str('master')
+ if lcl_brch.decode().strip() == 'master':
+ act_brch = str('master')
- if localBranch.decode().strip() == 'next':
- activeBranch = str('next')
+ if lcl_brch.decode().strip() == 'next':
+ act_brch = str('next')
- return activeBranch
+ return act_brch