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

Commitb8bab43

Browse files
committed
Remove old commented-out flagKeyLiteral assertions in git.remote
1 parent2053a3d commitb8bab43

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎git/remote.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@
5050

5151
flagKeyLiteral=Literal[" ","!","+","-","*","=","t","?"]
5252

53-
# def is_flagKeyLiteral(inp: str) -> TypeGuard[flagKeyLiteral]:
54-
# return inp in [' ', '!', '+', '-', '=', '*', 't', '?']
55-
56-
5753
# -------------------------------------------------------------
5854

5955
_logger=logging.getLogger(__name__)
@@ -415,7 +411,6 @@ def _from_line(cls, repo: "Repo", line: str, fetch_line: str) -> "FetchInfo":
415411
remote_local_ref_str,
416412
note,
417413
)=match.groups()
418-
# assert is_flagKeyLiteral(control_character), f"{control_character}"
419414
control_character=cast(flagKeyLiteral,control_character)
420415
try:
421416
_new_hex_sha,_fetch_operation,fetch_note=fetch_line.split("\t")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp