summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/command/install.py')
-rw-r--r--numpy/distutils/command/install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/command/install.py b/numpy/distutils/command/install.py
index 2eff2d145..efa9b4740 100644
--- a/numpy/distutils/command/install.py
+++ b/numpy/distutils/command/install.py
@@ -62,7 +62,7 @@ class install(old_install):
# bdist_rpm fails when INSTALLED_FILES contains
# paths with spaces. Such paths must be enclosed
# with double-quotes.
- with open(self.record, 'r') as f:
+ with open(self.record) as f:
lines = []
need_rewrite = False
for l in f: