projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7df44e
)
Remove odd os.getcwd() call used inside main() when searching for tests.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 6 Aug 2009 05:37:52 +0000
(
05:37
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 6 Aug 2009 05:37:52 +0000
(
05:37
-0000)
svn path=/main/trunk/; revision=13927
pym/portage/tests/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/__init__.py
b/pym/portage/tests/__init__.py
index 927af49c74804e338746c539326c4945a883977a..7f207a2d0f2d3380482d896b3f8492b9c4cf8614 100644
(file)
--- 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: