Example #1
0
 def getGroup(uid):
     group = BaseUIView.getView(uid)
     if group is None:
         return GroupView(uid)
     else:
         return group
Example #2
0
 def getContact(uid):
     contact = BaseUIView.getView(uid)
     if contact is None:
         return ContactView(uid)
     else:
         return contact