mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -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
|
@ -71,7 +71,7 @@ def create_event(
|
|||
return event
|
||||
|
||||
|
||||
class StateGroupStore(object):
|
||||
class StateGroupStore:
|
||||
def __init__(self):
|
||||
self._event_to_state_group = {}
|
||||
self._group_to_state = {}
|
||||
|
@ -129,7 +129,7 @@ class DictObj(dict):
|
|||
self.__dict__ = self
|
||||
|
||||
|
||||
class Graph(object):
|
||||
class Graph:
|
||||
def __init__(self, nodes, edges):
|
||||
events = {}
|
||||
clobbered = set(events.keys())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue