1 file changed
@@ -50,10 +50,6 @@ | |||
| 50 | 50 | ||
| 51 | 51 | flagKeyLiteral = Literal[" ", "!", "+", "-", "*", "=", "t", "?"] | |
| 52 | 52 | ||
| 53 | - # def is_flagKeyLiteral(inp: str) -> TypeGuard[flagKeyLiteral]: | ||
| 54 | - # return inp in [' ', '!', '+', '-', '=', '*', 't', '?'] | ||
| 55 | - | ||
| 56 | - | ||
| 57 | 53 | # ------------------------------------------------------------- | |
| 58 | 54 | ||
| 59 | 55 | _logger = logging.getLogger(__name__) | |
@@ -415,7 +411,6 @@ def _from_line(cls, repo: "Repo", line: str, fetch_line: str) -> "FetchInfo": | |||
| 415 | 411 | remote_local_ref_str, | |
| 416 | 412 | note, | |
| 417 | 413 | ) = match.groups() | |
| 418 | - # assert is_flagKeyLiteral(control_character), f"{control_character}" | ||
| 419 | 414 | control_character = cast(flagKeyLiteral, control_character) | |
| 420 | 415 | try: | |
| 421 | 416 | _new_hex_sha, _fetch_operation, fetch_note = fetch_line.split("\t") | |
0 commit comments