| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5c1b303 commit 5e74292
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,6 @@ | |||
| 2 | 2 | # | |
| 3 | 3 | # This module is part of GitDB and is released under | |
| 4 | 4 | # the New BSD License: https://opensource.org/license/bsd-3-clause/ | |
| 5 | - import codecs | ||
| 6 | 5 | from gitdb.db.base import ( | |
| 7 | 6 | CompoundDB, | |
| 8 | 7 | ) | |
@@ -42,7 +41,7 @@ def _update_dbs_from_ref_file(self): | |||
| 42 | 41 | # try to get as many as possible, don't fail if some are unavailable | |
| 43 | 42 | ref_paths = list() | |
| 44 | 43 | try: | |
| 45 | - with codecs.open(self._ref_file, 'r', encoding="utf-8") as f: | ||
| 44 | + with open(self._ref_file, 'r', encoding="utf-8") as f: | ||
| 46 | 45 | ref_paths = [l.strip() for l in f] | |
| 47 | 46 | except OSError: | |
| 48 | 47 | pass | |
| Back | FazBrowse Home | New Git URL |
0 commit comments