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

Unified Diff: verification/tree_status.py

Issue 11414143: Change models.py to use typed class members instead of a list of strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/commit-queue
Patch Set: More doc, minor fixes Created 8 years, 1 month 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: verification/tree_status.py
diff --git a/verification/tree_status.py b/verification/tree_status.py
index d4bd78f048128aea41ca53f2e3f3543fe3dc7421..b258e16a88cdfbe4fb0f57fa0f230161d8812795 100644
--- a/verification/tree_status.py
+++ b/verification/tree_status.py
@@ -14,13 +14,7 @@ from verification import base
class TreeStatus(base.IVerifierStatus):
- persistent = base.IVerifierStatus.persistent + [
- 'tree_status_url',
- ]
-
- def __init__(self, tree_status_url):
- super(TreeStatus, self).__init__()
- self.tree_status_url = tree_status_url
+ tree_status_url = str
csharp 2012/11/23 18:31:58 Is it ok for this class to now get constructed wit
M-A Ruel 2012/11/23 18:44:06 First, some background: it's a design issue that t
def get_state(self):
return base.SUCCEEDED
« model.py ('K') | « verification/base.py ('k') | verification/try_job_on_rietveld.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698