diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-30 06:44:20 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-30 06:44:20 +0000 |
commit | 0096e7682c1d116cc7733f9b61245481965da2d1 (patch) | |
tree | 592a0c815e4f024fdd200e8a03261aa0109dae3e | |
parent | 7d616ef664c8b17b99dcee917aaa89f0d5df2439 (diff) | |
download | portage-0096e7682c1d116cc7733f9b61245481965da2d1.tar.gz portage-0096e7682c1d116cc7733f9b61245481965da2d1.tar.bz2 portage-0096e7682c1d116cc7733f9b61245481965da2d1.zip |
Implement _use_dep.__repr__(). Thanks to Douglass Anderson for the suggestion.
svn path=/main/trunk/; revision=13251
-rw-r--r-- | pym/portage/dep.py | 3 |
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. |