1 parent 7d5bd3f commit cbd18aeCopy full SHA for cbd18ae
1 file changed
ietf/checks.py
@@ -365,8 +365,6 @@ def maybe_patch_library(app_configs, **kwargs):
365
# 'django/db/models/fields/__init__.py'
366
for patch_file in settings.CHECKS_LIBRARY_PATCHES_TO_APPLY:
367
patch_path = os.path.join(saved_cwd, patch_file)
368
- with open(patch_path) as f:
369
- p = f.read()
370
patch_set = patch.fromfile(patch_path)
371
if patch_set:
372
if not patch_set.apply():
0 commit comments