Retrieves integer value 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)
| 268 | |
| 269 | |
| 270 | def getconfint(self, option, default = CustomConfigDefault): |
| 271 | """ |
| 272 | Retrieves integer value from the configuration. |
| 273 | |
| 274 | Arguments: |
| 275 | - option: option name whose value is to be retrieved; |
| 276 | - default: default return value if no such option |
| 277 | exists. |
| 278 | |
| 279 | """ |
| 280 | |
| 281 | return self._confighelper_runner(option, default, |
| 282 | self.getconfig().getdefaultint, |
| 283 | self.getconfig().getint) |
| 284 | |
| 285 | |
| 286 | def getconffloat(self, option, default = CustomConfigDefault): |
no test coverage detected