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 ea898ade9..d9b84fc08 100644
--- a/numpy/distutils/command/install.py
+++ b/numpy/distutils/command/install.py
@@ -64,7 +64,7 @@ class install(old_install):
f = open(self.record,'r')
lines = []
need_rewrite = False
- for l in f.readlines():
+ for l in f:
l = l.rstrip()
if ' ' in l:
need_rewrite = True