Index: chrome/common/extensions/docs/server2/branch_utility.py |
diff --git a/chrome/common/extensions/docs/server2/branch_utility.py b/chrome/common/extensions/docs/server2/branch_utility.py |
index 7eb164c3be020f15dfad6dfe371824d14e564331..6241750da2d42c744d6443d4db3329218981b914 100644 |
--- a/chrome/common/extensions/docs/server2/branch_utility.py |
+++ b/chrome/common/extensions/docs/server2/branch_utility.py |
@@ -30,6 +30,12 @@ class ChannelInfo(object): |
def __ne__(self, other): |
return not (self == other) |
+ def __repr__(self): |
+ return '%s%s' % (type(self).__name__, repr(self.__dict__)) |
Jeffrey Yasskin
2013/10/02 00:19:17
Same comment as for LookupResult.
not at google - send to devlin
2013/10/02 00:40:02
Done.
|
+ |
+ def __str__(self): |
+ return repr(self) |
+ |
class BranchUtility(object): |
'''Provides methods for working with Chrome channel, branch, and version |