Addon Manager: pylint cleanup of Macro class

This commit is contained in:
Chris Hennes
2022-08-28 13:50:09 -05:00
parent 6bb936e87c
commit dfafe7e04a
2 changed files with 241 additions and 163 deletions

View File

@@ -194,7 +194,7 @@ class GitManager:
# This only works with git 2.22 and later (June 2019)
# branch = self._synchronous_call_git(["branch", "--show-current"]).strip()
# This is more universal:
# This is more universal (albeit more opaque to the reader):
branch = self._synchronous_call_git(["rev-parse", "--abbrev-ref", "HEAD"]).strip()
except GitFailed as e:
os.chdir(old_dir)