From: Zac Medico Date: Fri, 14 Nov 2008 22:28:00 +0000 (-0000) Subject: For consistency with earlier portage-2.1.x releases, override SetArg.__str__() X-Git-Tag: v2.1.6_rc1~71 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f2c053b8516155d9e4b1e866e67c0c24c0702573;p=portage.git 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 --- 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")