Mercurial > libervia-backend
comparison frontends/quick_frontend/quick_contact_management.py @ 56:01ea5680207e
removed debug comments
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 10 Jan 2010 17:35:41 +1100 |
parents | 2ce9e350cdf9 |
children | a5b5fb5fc9fd |
comparison
equal
deleted
inserted
replaced
55:20e54702fc0b | 56:01ea5680207e |
---|---|
67 debug('Trying to get attribute for an unknown contact') | 67 debug('Trying to get attribute for an unknown contact') |
68 return None | 68 return None |
69 | 69 |
70 def isConnected(self, entity): | 70 def isConnected(self, entity): |
71 """Tell if the contact is online""" | 71 """Tell if the contact is online""" |
72 print "is connected (%s): %s" %(entity, str(self.__contactlist.has_key(entity.short))) #gof | |
73 return self.__contactlist.has_key(entity.short) | 72 return self.__contactlist.has_key(entity.short) |
74 | 73 |
75 def remove(self, entity): | 74 def remove(self, entity): |
76 """remove resource. If no more resource is online or is no resource is specified, contact is deleted""" | 75 """remove resource. If no more resource is online or is no resource is specified, contact is deleted""" |
77 try: | 76 try: |