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

Commit832b6ee

Browse files
committed
remove unnecessary list comprehension to fix CI
1 parente98f57b commit832b6ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/refs/symbolic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def _check_ref_name_valid(ref_path: PathLike) -> None:
200200
raiseValueError(f"Invalid reference '{ref_path}': references cannot end with a forward slash (/)")
201201
elifprevious=="@"andone_before_previousisNone:
202202
raiseValueError(f"Invalid reference '{ref_path}': references cannot be '@'")
203-
elifany([component.endswith(".lock")forcomponentinstr(ref_path).split("/")]):
203+
elifany(component.endswith(".lock")forcomponentinstr(ref_path).split("/")):
204204
raiseValueError(
205205
f"Invalid reference '{ref_path}': references cannot have slash-separated components that end with"
206206
f" '.lock'"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp