Index: recipe_modules/bot_update/api.py |
diff --git a/recipe_modules/bot_update/api.py b/recipe_modules/bot_update/api.py |
index 42cf3ec094b18b7041daaef21d87a2750ab19caf..7571d0dec2666f24c9665a46772ad4dea523b747 100644 |
--- a/recipe_modules/bot_update/api.py |
+++ b/recipe_modules/bot_update/api.py |
@@ -78,6 +78,8 @@ class BotUpdateApi(recipe_api.RecipeApi): |
# We can re-use the gclient spec from the gclient module, since all the |
# data bot_update needs is already configured into the gclient spec. |
cfg = gclient_config or self.m.gclient.c |
+ assert cfg is not None, ( |
+ 'missing gclient_config or forgot api.gclient.set_config(...) before?') |
# Used by bot_update to determine if we want to run or not. |
master = self._mastername |