mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
use pathlib's read_text() to avoid confusin intended blocks
This commit is contained in:
parent
895e0553a0
commit
f68b77a933
1 changed files with 1 additions and 2 deletions
|
|
@ -880,8 +880,7 @@ def parse_localized_antifeatures(app):
|
|||
app['AntiFeatures'] = dict()
|
||||
if f.stem not in app['AntiFeatures']:
|
||||
app['AntiFeatures'][f.stem] = dict()
|
||||
with f.open() as fp:
|
||||
app['AntiFeatures'][f.stem][locale] = fp.read()
|
||||
app['AntiFeatures'][f.stem][locale] = f.read_text()
|
||||
|
||||
|
||||
def _normalize_type_string(v):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue