1 |
Author: zmedico |
2 |
Date: 2009-08-06 05:37:52 +0000 (Thu, 06 Aug 2009) |
3 |
New Revision: 13927 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/tests/__init__.py |
7 |
Log: |
8 |
Remove odd os.getcwd() call used inside main() when searching for tests. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/tests/__init__.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/tests/__init__.py 2009-08-06 05:35:14 UTC (rev 13926) |
14 |
+++ main/trunk/pym/portage/tests/__init__.py 2009-08-06 05:37:52 UTC (rev 13927) |
15 |
@@ -18,7 +18,7 @@ |
16 |
# the os.walk help mentions relative paths as being quirky |
17 |
# I was tired of adding dirs to the list, so now we add __test__ |
18 |
# to each dir we want tested. |
19 |
- for root, dirs, files in os.walk(os.getcwd()): |
20 |
+ for root, dirs, files in os.walk(basedir): |
21 |
if ".svn" in dirs: |
22 |
dirs.remove('.svn') |
23 |
if TEST_FILE in files: |