[pypy-commit] pypy default: remove a unused function
RonnyPfannschmidt
noreply at buildbot.pypy.org
Mon Sep 17 23:35:27 CEST 2012
Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch:
Changeset: r57373:837c9d786fc4
Date: 2012-09-17 23:35 +0200
http://bitbucket.org/pypy/pypy/changeset/837c9d786fc4/
Log: remove a unused function
diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/genc.py
--- a/pypy/translator/c/genc.py
+++ b/pypy/translator/c/genc.py
@@ -17,15 +17,6 @@
_CYGWIN = sys.platform == 'cygwin'
-def import_module_from_directory(dir, modname):
- file, pathname, description = imp.find_module(modname, [str(dir)])
- try:
- mod = imp.load_module(modname, file, pathname, description)
- finally:
- if file:
- file.close()
- return mod
-
_CPYTHON_RE = py.std.re.compile('^Python 2.[567]')
def get_recent_cpython_executable():
More information about the pypy-commit
mailing list