Mercurial > libervia-backend
diff src/plugins/plugin_xep_0277.py @ 484:23cbdf0a0777
core: presence status + last resource refactored and kept in entitiesCache in memory.py, profile cache is purged on disconnection
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 15 Aug 2012 15:50:46 +0200 |
parents | 2a072735e459 |
children | ca13633d3b6b |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0277.py Thu Aug 02 01:08:51 2012 +0200 +++ b/src/plugins/plugin_xep_0277.py Wed Aug 15 15:50:46 2012 +0200 @@ -92,7 +92,7 @@ microblog_data['author'] = _entry.authors[0].name.text microblog_data['timestamp'] = str(int(_entry.updated.tf)) microblog_data['id'] = item['id'] - except AttributeError, KeyError: + except (AttributeError, KeyError): error(_('Error while parsing atom entry for microblogging event')) return {}