def __init__(self, name, password, *a, **k): self.location = name EventMixin.__init__(self) self.proto = RssProtocol(self) SocialNetwork.__init__(self, name=name, password=password, *a, **k) self._dirty = True self.change_state(self.Statuses.ONLINE)
def __init__(self, **options): self.time_offset = None options['password'] = None oauth_util.OAuthAccountBase.__init__(self, **options) self.connection = None self._dirty = False SocialNetwork.__init__(self, **options) self.social_feed = SocialFeed('linkedin_' + self.username, 'linkedin_' + self.username, self.get_newsfeed_iter, self.generate_newsfeed_html, lambda: self.set_infobox_dirty)
def __init__(self, **options): self.time_offset = None options["password"] = None oauth_util.OAuthAccountBase.__init__(self, **options) self.connection = None self._dirty = False SocialNetwork.__init__(self, **options) self.social_feed = SocialFeed( "linkedin_" + self.username, "linkedin_" + self.username, self.get_newsfeed_iter, self.generate_newsfeed_html, lambda: self.set_infobox_dirty, )