Skip to content

Commit c67b2e2

Browse files
committed
Adjust spacing in colon seach mode NotImplementedError
This is a (very) minor improvement that uses the more common convention of not padding parentheses on the inside with spaces in prose, in an exception message.
1 parent b2b6f7c commit c67b2e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: git/repo/fun.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def rev_parse(repo: "Repo", rev: str) -> Union["Commit", "Tag", "Tree", "Blob"]:
246246
# Are we in colon search mode?
247247
if rev.startswith(":/"):
248248
# Colon search mode
249-
raise NotImplementedError("commit by message search ( regex )")
249+
raise NotImplementedError("commit by message search (regex)")
250250
# END handle search
251251

252252
obj: Union[Commit_ish, "Reference", None] = None

0 commit comments

Comments
 (0)