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

Unified Diff: third_party/recipe_engine/config.py

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved field_composer_test with its buddies Created 5 years, 7 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 | « third_party/recipe_engine/__init__.py ('k') | third_party/recipe_engine/config_types.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/recipe_engine/config.py
diff --git a/scripts/slave/recipe_config.py b/third_party/recipe_engine/config.py
similarity index 99%
rename from scripts/slave/recipe_config.py
rename to third_party/recipe_engine/config.py
index 0094142dcb59ed78defb89e2febbd23f3a40d6e5..c58f92883b7ae85690e647ba611483f3d2fff5e3 100644
--- a/scripts/slave/recipe_config.py
+++ b/third_party/recipe_engine/config.py
@@ -1,4 +1,4 @@
-# Copyright 2013 The Chromium Authors. All rights reserved.
+# Copyright 2013-2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -270,7 +270,8 @@ class ConfigContext(object):
return ret
inner.DEFAULT_CONFIG_VARS = default_config_vars
- assert name not in self.CONFIG_ITEMS
+ assert name not in self.CONFIG_ITEMS, (
+ '%s is already in CONFIG_ITEMS' % name)
self.CONFIG_ITEMS[name] = inner
if group:
self.MUTEX_GROUPS.setdefault(group, set()).add(name)
« no previous file with comments | « third_party/recipe_engine/__init__.py ('k') | third_party/recipe_engine/config_types.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698