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

Side by Side Diff: recipe_engine/recipe_api.py

Issue 2909983003: [loader] Make recipe engine support examples/ module subdir (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « recipe_engine/loader.py ('k') | recipe_engine/unittests/run_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The LUCI Authors. All rights reserved. 1 # Copyright 2016 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed under the Apache License, Version 2.0 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # that can be found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 from __future__ import absolute_import 5 from __future__ import absolute_import
6 import bisect 6 import bisect
7 import collections 7 import collections
8 import contextlib 8 import contextlib
9 import copy 9 import copy
10 import json 10 import json
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 def bind(self, name, property_type, full_decl_name): 1036 def bind(self, name, property_type, full_decl_name):
1037 """ 1037 """
1038 Gets the BoundProperty version of this Property. Requires a name. 1038 Gets the BoundProperty version of this Property. Requires a name.
1039 """ 1039 """
1040 return BoundProperty( 1040 return BoundProperty(
1041 self._default, self.help, self.kind, name, property_type, full_decl_name, 1041 self._default, self.help, self.kind, name, property_type, full_decl_name,
1042 self.param_name) 1042 self.param_name)
1043 1043
1044 class UndefinedPropertyException(TypeError): 1044 class UndefinedPropertyException(TypeError):
1045 pass 1045 pass
1046
OLDNEW
« no previous file with comments | « recipe_engine/loader.py ('k') | recipe_engine/unittests/run_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698