From: Lisandro Dalcin Date: Wed, 31 Mar 2010 14:17:54 +0000 (-0300) Subject: remove duplicate method implementation X-Git-Tag: 0.13.beta0~248 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=628d4d97f9f04a498a14c41f739d7954f8cf09a6;p=cython.git remove duplicate method implementation --- diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 49ff61ad..a031c5de 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -379,11 +379,6 @@ class Context(object): dir = parent return dir - def is_package_dir(self, dir): - package_init = os.path.join(dir, "__init__.py") - return os.path.exists(package_init) or \ - os.path.exists(package_init + "x") # same with .pyx - def check_package_dir(self, dir, package_names): package_dir = os.path.join(dir, *package_names) if not os.path.exists(package_dir):