Index: tools/push-to-trunk/common_includes.py |
diff --git a/tools/push-to-trunk/common_includes.py b/tools/push-to-trunk/common_includes.py |
index 86d33ca0c0508c8711612a73d5499f2987b0f439..4dfb6d7d279449d7dfcc5c2f1e6dc66562899004 100644 |
--- a/tools/push-to-trunk/common_includes.py |
+++ b/tools/push-to-trunk/common_includes.py |
@@ -37,6 +37,7 @@ import subprocess |
import sys |
import textwrap |
import time |
+import urllib |
import urllib2 |
from git_recipes import GitRecipesMixin |
@@ -209,7 +210,7 @@ class SideEffectHandler(object): # pragma: no cover |
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"} |