diff options
author | Andrej Shadura <andrew@shadura.me> | 2022-03-24 09:59:03 +0100 |
---|---|---|
committer | Andrej Shadura <andrew@shadura.me> | 2022-03-24 10:02:10 +0100 |
commit | 6d468882d7e435a86b710c14549ae557b4a0f91e (patch) | |
tree | 1513941f47823e74fa9f373e7dadda7e19a8c318 /git_crecord/main.py | |
parent | 3190b6899d31dccf93654486fb637208e56688a1 (diff) |
Cleanup: typing, PEP 8, unused code
Diffstat (limited to 'git_crecord/main.py')
-rw-r--r-- | git_crecord/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git_crecord/main.py b/git_crecord/main.py index 50a6ced..b069150 100644 --- a/git_crecord/main.py +++ b/git_crecord/main.py @@ -35,6 +35,7 @@ class Config: def set(self, section, item, value, source=""): raise NotImplementedError + class Ui: def __init__(self, repo: GitRepo): self.repo = repo @@ -194,7 +195,7 @@ def main(): os.chdir(repo.path) try: - crecord_core.dorecord(ui, repo, **(opts)) + crecord_core.dorecord(ui, repo, **opts) except Abort as inst: sinst = str(inst) if opts['quiet'] and 'commit failed' in sinst: |