diff options
Diffstat (limited to 'src/backend/checkenv.py')
-rw-r--r-- | src/backend/checkenv.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/checkenv.py b/src/backend/checkenv.py index 1bf0b52..948bbfe 100644 --- a/src/backend/checkenv.py +++ b/src/backend/checkenv.py @@ -15,13 +15,14 @@ def branch(): if os.path.isdir(os.path.join(sisyphus.getfs.gentooRepoDir, '.git')): os.chdir(sisyphus.getfs.gentooRepoDir) - localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD']) + localBranch = subprocess.check_output( + ['git', 'rev-parse', '--abbrev-ref', 'HEAD']) if localBranch.decode().strip() == 'master': activeBranch = str('master') if localBranch.decode().strip() == 'next': - activeBranch = str('next') + activeBranch = str('next') return activeBranch |