def __init__(self, reactor=None):
    XMPPHandler.__init__(self)
    if reactor:
        self._reactor = reactor
    else:
        from twisted.internet import reactor
        self._reactor = reactor
def __init__(self, reactor=None):
    XMPPHandler.__init__(self)
    if reactor:
        self._reactor = reactor
    else:
        from twisted.internet import reactor
        self._reactor = reactor