Fix handling of PluginNotFoundException in i18n.

This commit is contained in:
Valentin Lorentz 2012-12-22 00:06:26 +00:00
parent 2363c404b4
commit 097ea23dfc

View File

@ -159,7 +159,7 @@ class _PluginInternationalization:
translationFile = open(getLocalePath(self.name, translationFile = open(getLocalePath(self.name,
localeName, 'po'), 'r') localeName, 'po'), 'r')
self._parse(translationFile) self._parse(translationFile)
except IOError, PluginNotFound: # The translation is unavailable except (IOError, PluginNotFound): # The translation is unavailable
pass pass
def _parse(self, translationFile): def _parse(self, translationFile):