summaryrefslogtreecommitdiff
path: root/tools/py3tool.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2010-03-25 03:32:12 +0000
committerCharles Harris <charlesr.harris@gmail.com>2010-03-25 03:32:12 +0000
commit5657366762f802d1119de6be6b19893daca9252d (patch)
treef49a06c107fccdbe963ef59fb401b51409d7a031 /tools/py3tool.py
parent44118aedbac7c1c4465443ec23d104a83b9a24f9 (diff)
downloadnumpy-5657366762f802d1119de6be6b19893daca9252d.tar.gz
CLN: Remove some now unnecessary fixups to lib/npyio.
Diffstat (limited to 'tools/py3tool.py')
-rwxr-xr-xtools/py3tool.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/py3tool.py b/tools/py3tool.py
index fbb540782..7327932c4 100755
--- a/tools/py3tool.py
+++ b/tools/py3tool.py
@@ -166,15 +166,6 @@ def custom_mangling(filename):
f.write(text)
f.close()
- if filename.endswith(os.path.join('lib', 'npyio.py')):
- f = open(filename, 'r')
- text = f.read()
- f.close()
- text = text.replace('from . import io', 'import io')
- f = open(filename, 'w')
- f.write(text)
- f.close()
-
def walk_sync(dir1, dir2, _seen=None):
if _seen is None:
seen = {}