diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-11-14 22:28:00 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-11-14 22:28:00 +0000 |
commit | f2c053b8516155d9e4b1e866e67c0c24c0702573 (patch) | |
tree | ebc6946898a928b4737ac8ca1b43f9e0e0aa62da /pym/_emerge | |
parent | b2f0fd4d04da5e74a4f8e770b8b1a61982cacab6 (diff) | |
download | portage-f2c053b8516155d9e4b1e866e67c0c24c0702573.tar.gz portage-f2c053b8516155d9e4b1e866e67c0c24c0702573.tar.bz2 portage-f2c053b8516155d9e4b1e866e67c0c24c0702573.zip |
For consistency with earlier portage-2.1.x releases, override SetArg.__str__()
so that system and world sets don't show a leading @ character when displayed.
svn path=/main/branches/2.1.6/; revision=11915
Diffstat (limited to 'pym/_emerge')
-rw-r--r-- | pym/_emerge/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index e03948539..6518b7583 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3694,6 +3694,9 @@ class SetArg(DependencyArg): self.set = set self.name = self.arg[len(SETPREFIX):] + def __str__(self): + return self.name + class Dependency(SlotObject): __slots__ = ("atom", "blocker", "depth", "parent", "onlydeps", "priority", "root") |