MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / safeGetBoolean

Method safeGetBoolean

src/bmconfigparser.py:60–64  ·  view source on GitHub ↗
(self, section, field)

Source from the content-addressed store, hash-verified

58 raise e
59
60 def safeGetBoolean(self, section, field):
61 try:
62 return self.getboolean(section, field)
63 except (ConfigParser.NoSectionError, ConfigParser.NoOptionError, ValueError, AttributeError):
64 return False
65
66 def safeGetInt(self, section, field, default=0):
67 try:

Callers 15

bmSettingsFunction · 0.80
processgetpubkeyMethod · 0.80
processmsgMethod · 0.80
processbroadcastMethod · 0.80
HandleLeaveChanMethod · 0.80
sendMsgMethod · 0.80
getBitfieldFunction · 0.80
assembleVersionMessageFunction · 0.80
runMethod · 0.80
_createListenSocketMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected