示例#1
0
文件: provider.py 项目: achiang/wader
 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)
示例#2
0
 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)