Fix previous merge.

This commit is contained in:
Valentin Lorentz 2014-01-03 17:15:32 +00:00
parent 492a5ac04c
commit 4a9d3ccd3e

View File

@ -165,6 +165,7 @@ class _PluginInternationalization:
except (IOError, PluginNotFound): # The translation is unavailable except (IOError, PluginNotFound): # The translation is unavailable
pass pass
finally: finally:
if 'translationFile' in locals():
translationFile.close() translationFile.close()
def _parse(self, translationFile): def _parse(self, translationFile):