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

Unified Diff: scripts/slave/recipe_modules/auto_bisect/revision_state.py

Issue 1775163003: Force RevisionState.commit_hash to be a str. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/auto_bisect/revision_state.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/revision_state.py b/scripts/slave/recipe_modules/auto_bisect/revision_state.py
index 1f9e244eec513bf380c294c334e5dfe70cdac6d4..dcd1283a262bce699567c0e7e51bbb0be1bb6cc9 100644
--- a/scripts/slave/recipe_modules/auto_bisect/revision_state.py
+++ b/scripts/slave/recipe_modules/auto_bisect/revision_state.py
@@ -70,7 +70,7 @@ class RevisionState(object):
self.deps_revision = None
self.depot_name = depot_name or self.bisector.base_depot
self.depot = depot_config.DEPOT_DEPS_NAME[self.depot_name]
- self.commit_hash = commit_hash
+ self.commit_hash = str(commit_hash)
self._rev_str = None
self.base_revision = base_revision
if self.base_revision:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698