Run migrations! Changed "Comm" typeclass to be called "Channel" to match the ChannelDB it is a typeclass for. The migration updates all old channel defaults to the new path.

This commit is contained in:
Griatch 2013-12-02 13:45:48 +01:00
parent 72bdc3b37f
commit 6e5de7847a
7 changed files with 170 additions and 12 deletions

View file

@ -9,13 +9,13 @@ from src.utils import logger
from src.utils.utils import make_iter
class Comm(TypeClass):
class Channel(TypeClass):
"""
This is the base class for all Comms. Inherit from this to create different
types of communication channels.
"""
def __init__(self, dbobj):
super(Comm, self).__init__(dbobj)
super(Channel, self).__init__(dbobj)
def channel_prefix(self, msg=None, emit=False):
"""