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
1 changed files with 1 additions and 1 deletions

View File

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