def __init__(self, user_id=None): HasUserID.__init__(self) HasPassword.__init__(self) HasGroupMembership.__init__(self) HasEmail.__init__(self) HasMessages.__init__(self) Tagger.__init__(self) qon.karma.HasKarma.__init__(self) qon.karma.HasKarmaBank.__init__(self) if user_id is not None: self.set_user_id(user_id) self.bio = '' self.location = '' self.latitude = None self.longitude = None self.deliciousID = None self.flickrID = None self.skypeID = None self.blogURL = None self.prev_login = None self.last_login = None self.last_hit = None self.contact_name = None self.watch_list = WatchList() self.blog = qon.blog.Blog(self) self.__data = UserData() self.__user_agreement_accepted = False self.__email_notify = True self.__copy_self = True self.__ip_addresses = IPAddresses() # user_id in the keys self.users_to_ignore = {}
def upgradeToVersion14(self): Tagger.__init__(self)
def upgradeToVersion15(self): if not hasattr(self, "tags"): Tagger.__init__(self)