Author: Ronny Pfannschmidt <[email protected]>
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():
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to