Mercurial > libervia-web
diff src/browser/sat_browser/contact_list.py @ 592:c66f7227848e frontends_multi_profiles
browser side: fixed an error catch in contact_list module (raised error depend on pyama's compilation options)
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 03 Feb 2015 14:35:47 +0100 |
parents | a5019e62c3e9 |
children | a099990f77a6 |
line wrap: on
line diff
--- a/src/browser/sat_browser/contact_list.py Sat Jan 24 01:45:39 2015 +0100 +++ b/src/browser/sat_browser/contact_list.py Tue Feb 03 14:35:47 2015 +0100 @@ -348,7 +348,7 @@ try: # XXX: Pyjamas doesn't do the set casting if None is present _keys.remove(None) - except KeyError: + except (KeyError, ValueError): # XXX: error raised depend on pyjama's compilation options pass current_groups = set(_keys) shown_groups = self._group_panel.getGroups()