From: Zac Medico Date: Thu, 30 Apr 2009 06:48:48 +0000 (-0000) Subject: Implement _use_dep.__repr__(). Thanks to Douglass Anderson for the suggestion. X-Git-Tag: v2.1.6.12~143 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd3ca4ae86e0366344964a3d415c5a2194dab6cd;p=portage.git Implement _use_dep.__repr__(). Thanks to Douglass Anderson for the suggestion. (trunk r13251) svn path=/main/branches/2.1.6/; revision=13430 --- diff --git a/pym/portage/dep.py b/pym/portage/dep.py index 803adde44..866258715 100644 --- a/pym/portage/dep.py +++ b/pym/portage/dep.py @@ -417,6 +417,9 @@ class _use_dep(object): return "" return "[%s]" % (",".join(self.tokens),) + def __repr__(self): + return "portage.dep._use_dep(%s)" % repr(self.tokens) + def evaluate_conditionals(self, use): """ Create a new instance with conditionals evaluated.