Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 76986044a..cfcbf5204 100644
--- a/setup.py
+++ b/setup.py
@@ -132,7 +132,7 @@ else:
domain + '.js'))
for js_file, (locale, po_file) in zip(js_files, po_files):
- with open(po_file, 'r') as infile:
+ with open(po_file) as infile:
catalog = read_po(infile, locale)
if catalog.fuzzy and not self.use_fuzzy: