def __init__(self, *args, **kw): self.flags = get_value_and_pop(kw, 'flags', READ) self.thread = get_value_and_pop(kw, 'thread') super(Message, self).__init__(*args, **kw)
def __init__(self, *args, **kw): self.email = to_u(get_value_and_pop(kw, 'email', '')) self.picture = get_value_and_pop(kw, 'picture', '') super(SQLContact, self).__init__(*args, **kw)