diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-05-13 08:24:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 08:24:50 -0400 |
commit | edd3b0747cc651d224fc1bf81ae7fbd6a25a2ea5 (patch) | |
tree | ba9843033806aeb0849c8e2b99ed9edb5fd71213 /tests | |
parent | Don't UPGRADE database rows (diff) | |
download | synapse-edd3b0747cc651d224fc1bf81ae7fbd6a25a2ea5.tar.xz |
Fix new flake8 errors (#7489)
This is a cherry-pick of 1a1da60ad2c9172fe487cd38a164b39df60f4cb5 (#7470) to the release-v1.13.0 branch.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/config/test_load.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/config/test_load.py b/tests/config/test_load.py index b3e557bd6a..734a9983e8 100644 --- a/tests/config/test_load.py +++ b/tests/config/test_load.py @@ -122,7 +122,7 @@ class ConfigLoadingTestCase(unittest.TestCase): with open(self.file, "r") as f: contents = f.readlines() - contents = [l for l in contents if needle not in l] + contents = [line for line in contents if needle not in line] with open(self.file, "w") as f: f.write("".join(contents)) |