def __init__(self, config, url): super(HTTPComm, self).__init__() self.config = config self.lastpoll = -1 self.url = url self.own_msgids = set() self.http_interface = HTTPInterface()