summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dep.py3
1 files changed, 3 insertions, 0 deletions
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.