mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-26 04:51:06 -05:00
Fix handling of PluginNotFoundException in i18n.
This commit is contained in:
parent
2363c404b4
commit
097ea23dfc
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user