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

Unified Diff: recipe_modules/bot_update/api.py

Issue 1748143002: Read got_revision_mapping from built in spec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 4 years, 10 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: recipe_modules/bot_update/api.py
diff --git a/recipe_modules/bot_update/api.py b/recipe_modules/bot_update/api.py
index 4b870a4b7eef2d5e2fb47b8df480a9459b1a27f2..ccd725efce2ca9b07bad69dd155b8421779cab9b 100644
--- a/recipe_modules/bot_update/api.py
+++ b/recipe_modules/bot_update/api.py
@@ -131,9 +131,7 @@ class BotUpdateApi(recipe_api.RecipeApi):
else:
email_file = key_file = None
- rev_map = {}
- if self.m.gclient.c:
- rev_map = self.m.gclient.c.got_revision_mapping.as_jsonish()
+ rev_map = cfg.got_revision_mapping.as_jsonish()
flags = [
# 1. Do we want to run? (master/builder/slave).
« 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