Fix automatic tagging.

BUG=
TBR=jarin@chromium.org

Review URL: https://codereview.chromium.org/417973002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22580 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3c231fb4
......@@ -117,7 +117,7 @@ class CalculateTagRevision(Step):
# LKGRs are reverse sorted.
if int(min_rev) <= int(lkgr) and int(lkgr) < int(max_rev):
return lkgr
return None
return None
def RunStep(self):
# Get the lkgr after the tag candidate and before the next tag candidate.
......
......@@ -245,7 +245,7 @@ class SideEffectHandler(object): # pragma: no cover
return datetime.date.today().strftime("%Y-%m-%d")
def GetUTCStamp(self):
time.mktime(datetime.datetime.utcnow().timetuple())
return time.mktime(datetime.datetime.utcnow().timetuple())
DEFAULT_SIDE_EFFECT_HANDLER = SideEffectHandler()
......
......@@ -1373,7 +1373,8 @@ LOG=N
self.ExpectReadURL([
URL("https://v8-status.appspot.com/revisions?format=json",
"[{\"revision\": \"123\", \"status\": true},"
"[{\"revision\": \"126\", \"status\": true},"
"{\"revision\": \"123\", \"status\": true},"
"{\"revision\": \"112\", \"status\": true}]"),
])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment