projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
288aa84
)
Make PackagesSystemSet.description refer to the real profile rather than
author
Zac Medico
<zmedico@gentoo.org>
Tue, 3 Jun 2008 20:44:29 +0000
(20:44 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 3 Jun 2008 20:44:29 +0000
(20:44 -0000)
/etc/portage/profile when possible.
svn path=/main/trunk/; revision=10561
pym/portage/sets/profiles.py
patch
|
blob
|
history
diff --git
a/pym/portage/sets/profiles.py
b/pym/portage/sets/profiles.py
index 011412a538967c80a6705806f20a96c28cc5591c..8efa0ec056ea55a8fa22a644363f99a9504a3e2d 100644
(file)
--- a/
pym/portage/sets/profiles.py
+++ b/
pym/portage/sets/profiles.py
@@
-16,6
+16,9
@@
class PackagesSystemSet(PackageSet):
self._profile_paths = profile_paths
if profile_paths:
description = self._profile_paths[-1]
+ if description == "/etc/portage/profile" and \
+ len(self._profile_paths) > 1:
+ description = self._profile_paths[-2]
else:
description = None
self.description = "System packages for profile %s" % description