From 097ea23dfcbe9e1a940c91648b668bd398ea0725 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 22 Dec 2012 00:06:26 +0000 Subject: [PATCH] Fix handling of PluginNotFoundException in i18n. --- src/i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n.py b/src/i18n.py index 5a9d73450..069766055 100644 --- a/src/i18n.py +++ b/src/i18n.py @@ -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):