From 628d4d97f9f04a498a14c41f739d7954f8cf09a6 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Wed, 31 Mar 2010 11:17:54 -0300 Subject: [PATCH] remove duplicate method implementation --- Cython/Compiler/Main.py | 5 ----- 1 file changed, 5 deletions(-) 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): -- 2.26.2