From cbd18ae0ce203bb446e95cc3095622495a0856c4 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Wed, 17 Jan 2018 21:02:36 +0000 Subject: [PATCH] Fixed a pyflakes issue. - Legacy-Id: 14536 --- ietf/checks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ietf/checks.py b/ietf/checks.py index 2aa5fcb41..8e3d2f12b 100644 --- a/ietf/checks.py +++ b/ietf/checks.py @@ -365,8 +365,6 @@ def maybe_patch_library(app_configs, **kwargs): # 'django/db/models/fields/__init__.py' for patch_file in settings.CHECKS_LIBRARY_PATCHES_TO_APPLY: patch_path = os.path.join(saved_cwd, patch_file) - with open(patch_path) as f: - p = f.read() patch_set = patch.fromfile(patch_path) if patch_set: if not patch_set.apply():