From df11a6ad5ca569174d6716e08e755bbb10e5ce5f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 6 Aug 2009 05:37:52 +0000 Subject: Remove odd os.getcwd() call used inside main() when searching for tests. svn path=/main/trunk/; revision=13927 --- pym/portage/tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/tests/__init__.py b/pym/portage/tests/__init__.py index 927af49c7..7f207a2d0 100644 --- a/pym/portage/tests/__init__.py +++ b/pym/portage/tests/__init__.py @@ -18,7 +18,7 @@ def main(): # the os.walk help mentions relative paths as being quirky # I was tired of adding dirs to the list, so now we add __test__ # to each dir we want tested. - for root, dirs, files in os.walk(os.getcwd()): + for root, dirs, files in os.walk(basedir): if ".svn" in dirs: dirs.remove('.svn') if TEST_FILE in files: -- cgit v1.2.3-1-g7c22