Skip to content

Commit 5f11d12

Browse files
refactor to avoid PYL-W0621 ( - Fixes #49 - )
1 parent 86d4374 commit 5f11d12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ def readFile(filename):
3030
theResult = None
3131
if filename in ("""README.md""", """LICENSE.md"""):
3232
try:
33-
with open(str("""./{}""").format(str(filename))) as f:
34-
theResult = f.read()
33+
with open(str("""./{}""").format(str(filename))) as file:
34+
theResult = file.read()
3535
except Exception:
3636
theResult = str(
3737
"""See https://github.com/reactive-firewall/python-repo/{}"""

0 commit comments

Comments
 (0)