1 |
Author: zmedico |
2 |
Date: 2009-04-30 06:48:48 +0000 (Thu, 30 Apr 2009) |
3 |
New Revision: 13430 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.6/pym/portage/dep.py |
7 |
Log: |
8 |
Implement _use_dep.__repr__(). Thanks to Douglass Anderson for the suggestion. |
9 |
(trunk r13251) |
10 |
|
11 |
Modified: main/branches/2.1.6/pym/portage/dep.py |
12 |
=================================================================== |
13 |
--- main/branches/2.1.6/pym/portage/dep.py 2009-04-30 06:48:39 UTC (rev 13429) |
14 |
+++ main/branches/2.1.6/pym/portage/dep.py 2009-04-30 06:48:48 UTC (rev 13430) |
15 |
@@ -417,6 +417,9 @@ |
16 |
return "" |
17 |
return "[%s]" % (",".join(self.tokens),) |
18 |
|
19 |
+ def __repr__(self): |
20 |
+ return "portage.dep._use_dep(%s)" % repr(self.tokens) |
21 |
+ |
22 |
def evaluate_conditionals(self, use): |
23 |
""" |
24 |
Create a new instance with conditionals evaluated. |