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