Revision: 21998
Author: [email protected]
Date: Wed Jun 25 08:44:59 2014 UTC
Log: Fix clusterfuzz check in auto-roll.
Minor fixes: Strip new lines from api key. Missing import. Use string query
parameters.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/353813002
http://code.google.com/p/v8/source/detail?r=21998
Modified:
/branches/bleeding_edge/tools/push-to-trunk/auto_roll.py
/branches/bleeding_edge/tools/push-to-trunk/common_includes.py
=======================================
--- /branches/bleeding_edge/tools/push-to-trunk/auto_roll.py Wed Jun 25
08:17:45 2014 UTC
+++ /branches/bleeding_edge/tools/push-to-trunk/auto_roll.py Wed Jun 25
08:44:59 2014 UTC
@@ -80,7 +80,7 @@
result = self._side_effect_handler.ReadClusterFuzzAPI(
api_key, job_type="linux_asan_d8_dbg", reproducible="True",
open="True", bug_information="",
- revision_greater_or_equal=self["last_push"])
+ revision_greater_or_equal=str(self["last_push"]))
if result:
print "Stop due to pending ClusterFuzz issues."
return True
=======================================
--- /branches/bleeding_edge/tools/push-to-trunk/common_includes.py Wed Jun
25 08:17:45 2014 UTC
+++ /branches/bleeding_edge/tools/push-to-trunk/common_includes.py Wed Jun
25 08:44:59 2014 UTC
@@ -37,6 +37,7 @@
import sys
import textwrap
import time
+import urllib
import urllib2
from git_recipes import GitRecipesMixin
@@ -209,7 +210,7 @@
url_fh.close()
def ReadClusterFuzzAPI(self, api_key, **params):
- params["api_key"] = api_key
+ params["api_key"] = api_key.strip()
params = urllib.urlencode(params)
headers = {"Content-type": "application/x-www-form-urlencoded"}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.