Split core handlers into its own (broken) class.

This commit is contained in:
Emmanuel Gil Peyrot 2016-06-12 13:57:42 +01:00
parent c1be52847b
commit 34d110e643

View file

@ -46,6 +46,11 @@ try:
except ImportError:
PYGMENTS = False
class HandlerCore:
def __init__(self, core):
self.core = core
def _join_initial_rooms(self, bookmarks):
"""Join all rooms given in the iterator `bookmarks`"""
for bm in bookmarks: