mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-28 10:40:34 -05:00
Enable addtional flake8-bugbear linting checks. (#9659)
This commit is contained in:
parent
c73cc2c2ad
commit
4c3827f2c1
8 changed files with 9 additions and 8 deletions
|
|
@ -593,7 +593,7 @@ class FakeTransport:
|
|||
if self.disconnected:
|
||||
return
|
||||
|
||||
if getattr(self.other, "transport") is None:
|
||||
if not hasattr(self.other, "transport"):
|
||||
# the other has no transport yet; reschedule
|
||||
if self.autoflush:
|
||||
self._reactor.callLater(0.0, self.flush)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue