PEP8 and pyflakes
This commit is contained in:
parent
978ce87c86
commit
29267cf9d7
|
@ -229,12 +229,10 @@ class ApplicationServiceStore(SQLBaseStore):
|
||||||
r.room_id for r in room_alias_mappings if
|
r.room_id for r in room_alias_mappings if
|
||||||
service.is_interested_in_alias(r.room_alias)
|
service.is_interested_in_alias(r.room_alias)
|
||||||
]
|
]
|
||||||
|
logging.debug(matching_alias_list)
|
||||||
|
logging.debug(matching_room_id_list)
|
||||||
|
|
||||||
# get all rooms for every user for this AS.
|
# TODO get all rooms for every user for this AS.
|
||||||
|
|
||||||
# TODO stub
|
|
||||||
yield self.cache_defer
|
|
||||||
|
|
||||||
|
|
||||||
defer.returnValue([RoomsForUser("!foo:bar", service.sender, "join")])
|
defer.returnValue([RoomsForUser("!foo:bar", service.sender, "join")])
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,6 @@ class DirectoryStore(SQLBaseStore):
|
||||||
) for r in results
|
) for r in results
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
def get_aliases_for_room(self, room_id):
|
def get_aliases_for_room(self, room_id):
|
||||||
return self._simple_select_onecol(
|
return self._simple_select_onecol(
|
||||||
"room_aliases",
|
"room_aliases",
|
||||||
|
|
Loading…
Reference in New Issue