mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-20 06:24:07 -04:00
Fix new flake8 errors (#7470)
This commit is contained in:
parent
8c8858e124
commit
1a1da60ad2
7 changed files with 19 additions and 12 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue