MCPcopy
hub / github.com/OfflineIMAP/offlineimap / getconf

Method getconf

offlineimap/CustomConfig.py:226–237  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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):

Callers 15

getconf_xformMethod · 0.95
callhookMethod · 0.80
__init__Method · 0.80
getsepMethod · 0.80
__init__Method · 0.80
get_copy_ignore_UIDsMethod · 0.80
gethostMethod · 0.80
get_remote_identityMethod · 0.80
getuserMethod · 0.80
getportMethod · 0.80
getsslcacertfileMethod · 0.80
gettlslevelMethod · 0.80

Calls 2

_confighelper_runnerMethod · 0.95
getconfigMethod · 0.95

Tested by

no test coverage detected