diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-12-18 07:01:16 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-12-18 07:11:22 -0800 |
commit | 83dc26cd9043ef86d85c920ba6bf77d9652cc14c (patch) | |
tree | 0868657741e98f598c782d34c31e24614f2c2853 | |
parent | d930edb3f04addbaa27949ad9030fcc9ff1bd1fd (diff) | |
download | portage-83dc26cd9043ef86d85c920ba6bf77d9652cc14c.tar.gz portage-83dc26cd9043ef86d85c920ba6bf77d9652cc14c.tar.bz2 portage-83dc26cd9043ef86d85c920ba6bf77d9652cc14c.zip |
repoman: ignore deprecated profiles.desc entries
-rwxr-xr-x | bin/repoman | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman index 9265c0e41..8c926ca41 100755 --- a/bin/repoman +++ b/bin/repoman @@ -719,6 +719,9 @@ for path in portdb.porttrees: "Invalid %s profile (%s) for arch %s in %s line %d", arch[2], arch[1], arch[0], desc_path, i+1) continue + if os.path.exists( + os.path.join(profile_desc.abs_path, 'deprecated')): + continue profile_list.append(profile_desc) desc_file.close() |