From: Zac Medico Date: Thu, 11 Jan 2007 06:18:50 +0000 (-0000) Subject: Remove / character from module names. X-Git-Tag: v2.1.2~90 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=db3916b84d825457c4866fb63c4c396b11d109cb;p=portage.git Remove / character from module names. svn path=/main/trunk/; revision=5541 --- diff --git a/tests/__init__.py b/tests/__init__.py index 8d4ea9f0c..4ac94383f 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -35,7 +35,7 @@ def getTests( path, base_path ): import os files = os.listdir( path ) files = [ f[:-3] for f in files if f.startswith("test_") and f.endswith(".py") ] - parent_path = path[len(base_path):] + parent_path = path[len(base_path)+1:] parent_module = ".".join(("tests", parent_path)) result = [] for mymodule in files: