Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc67b2e2

Browse files
committed
Adjust spacing in colon seach mode NotImplementedError
This is a (very) minor improvement that uses the more commonconvention of not padding parentheses on the inside with spaces inprose, in an exception message.
1 parentb2b6f7c commitc67b2e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/repo/fun.py

Lines changed: 1 addition & 1 deletion
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
ifrev.startswith(":/"):
248248
# Colon search mode
249-
raiseNotImplementedError("commit by message search (regex)")
249+
raiseNotImplementedError("commit by message search (regex)")
250250
# END handle search
251251

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp