mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 17:34:59 -04:00
Stop sub-classing object (#8249)
This commit is contained in:
parent
9f8abdcc38
commit
c619253db8
168 changed files with 293 additions and 292 deletions
|
@ -112,7 +112,7 @@ class FileConsumerTests(unittest.TestCase):
|
|||
self.assertTrue(string_file.closed)
|
||||
|
||||
|
||||
class DummyPullProducer(object):
|
||||
class DummyPullProducer:
|
||||
def __init__(self):
|
||||
self.consumer = None
|
||||
self.deferred = defer.Deferred()
|
||||
|
@ -134,7 +134,7 @@ class DummyPullProducer(object):
|
|||
return d
|
||||
|
||||
|
||||
class BlockingStringWrite(object):
|
||||
class BlockingStringWrite:
|
||||
def __init__(self):
|
||||
self.buffer = ""
|
||||
self.closed = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue