Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 | |
| 2 from recipe_engine.config import config_item_context, ConfigGroup, Single | |
| 3 | |
| 4 def BaseConfig(**_kwargs): | |
| 5 return ConfigGroup( | |
| 6 test_results_server = Single(basestring)) | |
| 7 | |
| 8 | |
| 9 config_ctx = config_item_context(BaseConfig) | |
| 10 | |
| 11 | |
| 12 @config_ctx(is_root=True) | |
| 13 def BASE(c): | |
| 14 pass | |
| 15 | |
| 16 @config_ctx() | |
| 17 def public_server(c): | |
| 18 c.test_results_server = 'test-results.appspot.com' | |
| 19 | |
| OLD | NEW |