[utils] Remove a redundant check in I18N

This commit is contained in:
Yen Chi Hsuan 2015-12-27 21:56:57 +08:00
parent 8a54fa704f
commit 7bdc9cc044

View File

@ -2539,7 +2539,6 @@ class I18N(object):
if t is not None:
return t
if t is None:
for root in get_root_dirs():
try:
t = gettext.translation(self.domain, os.path.join(root, 'share', 'locale'), [lang])