| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -90,7 +90,7 @@ def _iter_packed_refs(cls, repo): | |||
| 90 | 90 | """Returns an iterator yielding pairs of sha1/path pairs (as bytes) for the corresponding refs. | |
| 91 | 91 | :note: The packed refs file will be kept open as long as we iterate""" | |
| 92 | 92 | try: | |
| 93 | - with open(cls._get_packed_refs_path(repo), 'rt') as fp: | ||
| 93 | + with open(cls._get_packed_refs_path(repo), 'rt', encoding='utf-8') as fp: | ||
| 94 | 94 | for line in fp: | |
| 95 | 95 | line = line.strip() | |
| 96 | 96 | if not line: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments