revert commented unlock in languages or test failure

This commit is contained in:
Massimo Di Pierro
2012-01-16 21:37:33 -06:00
parent 5a23ca6230
commit 0029b43aac
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.4 (2012-01-16 21:33:37) stable
Version 1.99.4 (2012-01-16 21:37:31) stable
+1 -1
View File
@@ -41,7 +41,7 @@ def read_dict_aux(filename):
fp = open(filename, 'r')
portalocker.lock(fp, portalocker.LOCK_SH)
lang_text = fp.read().replace('\r\n', '\n')
# needed? portalocker.unlock(fp)
portalocker.unlock(fp) # needed or test_languages.py fails
fp.close()
if not lang_text.strip():
return {}