diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 22:10:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 22:10:33 +0000 |
commit | 99455bbb94f298cd101c3e43227647ccf7aaaf1b (patch) | |
tree | 6e1d079bc2a051592d64e5fd1a73b3ea6c2d0123 /src/backend/checkenv.py | |
parent | 1965c85d0acc683e1dddb58cec343b2ff62711e4 (diff) |
add an aditional matchphrase to the dependency solver, add color support && pep8 the whole backendv4.2212.0
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 |