Retrieves string from the configuration. Arguments: - option: option name whose value is to be retrieved; - default: default return value if no such option exists.
(self, option, default = CustomConfigDefault)
| 224 | |
| 225 | |
| 226 | def getconf(self, option, default = CustomConfigDefault): |
| 227 | """Retrieves string from the configuration. |
| 228 | |
| 229 | Arguments: |
| 230 | - option: option name whose value is to be retrieved; |
| 231 | - default: default return value if no such option |
| 232 | exists. |
| 233 | """ |
| 234 | |
| 235 | return self._confighelper_runner(option, default, |
| 236 | self.getconfig().getdefault, |
| 237 | self.getconfig().get) |
| 238 | |
| 239 | |
| 240 | def getconf_xform(self, option, xforms, default = CustomConfigDefault): |
no test coverage detected