Skip to content

Commit ab3d21c

Browse files
authored
Merge pull request github#16441 from github/redsun82/lfs
Bazel: make `git_lfs_probe.py` compatible with python 3.8
2 parents b8f62ae + 9f27eb3 commit ab3d21c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

misc/bazel/internal/git_lfs_probe.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@
1818
import re
1919
import base64
2020
from dataclasses import dataclass
21+
from typing import Dict
2122

2223

2324
@dataclass
2425
class Endpoint:
2526
href: str
26-
headers: dict[str, str]
27+
headers: Dict[str, str]
2728

28-
def update_headers(self, d: dict[str, str]):
29+
def update_headers(self, d: Dict[str, str]):
2930
self.headers.update((k.capitalize(), v) for k, v in d.items())
3031

3132

0 commit comments

Comments
 (0)