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

Unified Diff: scripts/master/factory/annotator_factory.py

Issue 860383008: Made annotated_run look up recipe from builders.pyl masters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Master changes to support this Created 5 years, 11 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: scripts/master/factory/annotator_factory.py
diff --git a/scripts/master/factory/annotator_factory.py b/scripts/master/factory/annotator_factory.py
index 1db9d5cacfe86c17df4cb6df9c62b006f2e8061a..9c5f2c8dc8c37ad772f44eba11b99c08113839a7 100644
--- a/scripts/master/factory/annotator_factory.py
+++ b/scripts/master/factory/annotator_factory.py
@@ -41,7 +41,8 @@ class AnnotatorFactory(object):
killed.
"""
factory_properties = factory_properties or {}
- factory_properties.update({'recipe': recipe})
+ if recipe:
+ factory_properties.update({'recipe': recipe})
self._factory_properties = factory_properties
factory = BuildFactory()
factory.properties.update(self._factory_properties, 'AnnotatorFactory')

Powered by Google App Engine
This is Rietveld 408576698