(self, borgtype=None)
Class initialiser. Overwrite our class dictionary with the shared
        state. This makes us identical to every other instance of this class
        type.
Class initialiser. Overwrite our class dictionary with the shared
        state. This makes us identical to every other instance of this class
        type.
Class initialiser . Overwrite our class dictionary with the shared state . This makes us identical to every other instance of this class type .
def __init__(self, borgtype=None):
        """Class initialiser. Overwrite our class dictionary with the shared
        state. This makes us identical to every other instance of this class
        type."""
        if borgtype is None:
            raise TypeError('Borg::__init__: You must pass a borgtype')
        if borgtype not in self.__shared_state:
            dbg('Borg::__init__: Preparing borg state for %s' % borgtype)
            self.__shared_state[borgtype] = {}
        self.__dict__ = self.__shared_state[borgtype]
def __init__ ( self , borgtype = None ) : if borgtype is None : raise TypeError ( 'Borg::__init__: You must pass a borgtype' ) if borgtype not in self . __shared_state : dbg ( 'Borg::__init__: Preparing borg state for %s' % borgtype ) self . __shared_state [ borgtype ] = { } self . __dict__ = self . __shared_state [ borgtype ]