summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-06 05:37:52 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-06 05:37:52 +0000
commitdf11a6ad5ca569174d6716e08e755bbb10e5ce5f (patch)
tree615bc2385dc90a6981d6501913272fa65731d13a
parentc7df44e774a0c1400b4c91123146fa4396644f91 (diff)
downloadportage-df11a6ad5ca569174d6716e08e755bbb10e5ce5f.tar.gz
portage-df11a6ad5ca569174d6716e08e755bbb10e5ce5f.tar.bz2
portage-df11a6ad5ca569174d6716e08e755bbb10e5ce5f.zip
Remove odd os.getcwd() call used inside main() when searching for tests.
svn path=/main/trunk/; revision=13927
-rw-r--r--pym/portage/tests/__init__.py2
1 files changed, 1 insertions, 1 deletions
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: