Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 5, 2024
1 parent fc51e47 commit 7e6bad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scmrepo/git/backend/dulwich/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ def _describe(
if revision and revision not in rev_mapping:
rev_mapping[revision] = ref
for rev in revs:
results[rev] = rev_mapping.get(rev, None)
results[rev] = rev_mapping.get(rev)
return results

def diff(self, rev_a: str, rev_b: str, binary=False) -> str:
Expand Down

0 comments on commit 7e6bad1

Please sign in to comment.