return the full path, not just the filename
authorMarius Mauch <genone@gentoo.org>
Fri, 7 Sep 2007 11:49:56 +0000 (11:49 -0000)
committerMarius Mauch <genone@gentoo.org>
Fri, 7 Sep 2007 11:49:56 +0000 (11:49 -0000)
svn path=/main/trunk/; revision=7755

pym/portage/env/loaders.py

index e55e2793e9a919d0ed952d47eec92ffde5ca4a62..7b1da91b7664e70d60b22d6c864b0c897d81c1c6 100644 (file)
@@ -44,7 +44,7 @@ def RecursiveFileLoader(filename):
                        files = [f for f in files if not f.startswith('.')]
                        files = [f for f in files if not f.endswith('~')]
                        for f in files:
-                               yield f
+                               yield os.path.join(root, f)
        else:
                yield filename