Changeset 7829 for branches/gajim_0.11/src/common/connection_handlers.py
- Timestamp:
- 01/13/07 23:35:41 (23 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11/src/common/connection_handlers.py
r7787 r7829 25 25 import sys 26 26 27 from time import localtime, strftime, gmtime , timezone27 from time import localtime, strftime, gmtime 28 28 from calendar import timegm 29 29 … … 887 887 c = f.read() 888 888 f.close() 889 card = common.xmpp.Node(node = c) 889 try: 890 card = common.xmpp.Node(node = c) 891 except: 892 # We are unable to parse it. Remove it 893 os.remove(path_to_file) 894 return None 890 895 vcard = self.node_to_dict(card) 891 896 if vcard.has_key('PHOTO'):
