1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-10 05:34:36 +00:00

Merge pull request #672 from jpvlsmv/variable_fix_trivial

Rename an ell variable into something that flake8 doesn't complain about
This commit is contained in:
Andrew Senetar 2020-06-24 17:18:49 -05:00 committed by GitHub
commit c35db7f698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -557,7 +557,7 @@ def fix_qt_resource_file(path):
with open(path, "rb") as fp: with open(path, "rb") as fp:
contents = fp.read() contents = fp.read()
lines = contents.split(b"\n") lines = contents.split(b"\n")
lines = [l for l in lines if not l.startswith(b"#")] lines = [line for line in lines if not line.startswith(b"#")]
with open(path, "wb") as fp: with open(path, "wb") as fp:
fp.write(b"\n".join(lines)) fp.write(b"\n".join(lines))