(self, config_file_path=None)
| 38 | ] |
| 39 | |
| 40 | def __init__(self, config_file_path=None): |
| 41 | self._config_file_path = (config_file_path or |
| 42 | self._default_config_file_path()) |
| 43 | self._config = collections.OrderedDict(self._DEFAULT_CONFIG) |
| 44 | if gfile.Exists(self._config_file_path): |
| 45 | config = self._load_from_file() |
| 46 | for key, value in config.items(): |
| 47 | self._config[key] = value |
| 48 | self._save_to_file() |
| 49 | |
| 50 | self._set_callbacks = {} |
| 51 | |
| 52 | def get(self, property_name): |
| 53 | if property_name not in self._config: |
nothing calls this directly
no test coverage detected