projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfee672
)
Inside have_profile_dir(), check for existence of profiles.desc since that
author
Zac Medico
<zmedico@gentoo.org>
Tue, 11 Nov 2008 17:39:55 +0000
(17:39 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 11 Nov 2008 17:39:55 +0000
(17:39 -0000)
makes a little more sense thatn checking for package.mask.
svn path=/main/trunk/; revision=11852
pym/repoman/utilities.py
patch
|
blob
|
history
diff --git
a/pym/repoman/utilities.py
b/pym/repoman/utilities.py
index 10f26727242f4456eb1cb7bab677f819e2f7c30c..cc654154cdeecbb0b0052e44d08ade4556295f62 100644
(file)
--- a/
pym/repoman/utilities.py
+++ b/
pym/repoman/utilities.py
@@
-99,7
+99,7
@@
def have_profile_dir(path, maxdepth=3):
""" Try to figure out if 'path' has a /profiles dir in it by checking for a package.mask file
"""
while path != "/" and maxdepth:
- if os.path.exists(
path + "/profiles/package.mask"
):
+ if os.path.exists(
os.path.join(path, "profiles", "profiles.desc")
):
return normalize_path(path)
path = normalize_path(path + "/..")
maxdepth -= 1