cubicweb/cwconfig.py
changeset 11857 a166ddb503aa
parent 11793 b455460630a0
child 11870 3a84a79c4ed5
--- a/cubicweb/cwconfig.py	Mon Nov 21 14:52:33 2016 +0100
+++ b/cubicweb/cwconfig.py	Thu Nov 17 11:03:19 2016 +0100
@@ -1304,7 +1304,7 @@
             try:
                 tr = translation('cubicweb', path, languages=[language])
                 self.translations[language] = (tr.ugettext, tr.upgettext)
-            except (ImportError, AttributeError, IOError):
+            except IOError:
                 if self.mode != 'test':
                     # in test contexts, data/i18n does not exist, hence
                     # logging will only pollute the logs