remove duplicate method implementation
authorLisandro Dalcin <dalcinl@gmail.com>
Wed, 31 Mar 2010 14:17:54 +0000 (11:17 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Wed, 31 Mar 2010 14:17:54 +0000 (11:17 -0300)
Cython/Compiler/Main.py

index 49ff61ade82f2da8ff9922b5ec335acc83c09f47..a031c5de16e8d4d181e646cdb7e1393d7ff85bd5 100644 (file)
@@ -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):