Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9815)

Unified Diff: chrome/common/extensions/docs/server2/branch_utility.py

Issue 25627002: Docserver: when checking for the existence of an API on a branch, just look at (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jeffrey Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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__))
+
+ def __str__(self):
+ return repr(self)
+
class BranchUtility(object):
'''Provides methods for working with Chrome channel, branch, and version
« no previous file with comments | « chrome/common/extensions/docs/server2/availability_finder.py ('k') | chrome/common/extensions/docs/server2/cron.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698