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

Unified Diff: client/common_lib/base_job.py

Issue 6883035: Merge remote branch 'autotest-upstream/master' into autotest-merge (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 8 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: client/common_lib/base_job.py
diff --git a/client/common_lib/base_job.py b/client/common_lib/base_job.py
index c5f55f8d42f3816c8a8114e844a8c10a4f3d0b0f..843c0e859d62dbbe0f3b86f58d88d6f7d79e5453 100644
--- a/client/common_lib/base_job.py
+++ b/client/common_lib/base_job.py
@@ -469,6 +469,8 @@ class status_log_entry(object):
else:
self.fields = fields.copy()
for key, value in self.fields.iteritems():
+ if type(value) is int:
+ value = str(value)
if self.BAD_CHAR_REGEX.search(key + value):
raise ValueError('Invalid character in %r=%r field'
% (key, value))

Powered by Google App Engine
This is Rietveld 408576698