(self, section, field, default=0)
| 64 | return False |
| 65 | |
| 66 | def safeGetInt(self, section, field, default=0): |
| 67 | try: |
| 68 | return self.getint(section, field) |
| 69 | except (ConfigParser.NoSectionError, ConfigParser.NoOptionError, ValueError, AttributeError): |
| 70 | return default |
| 71 | |
| 72 | def safeGet(self, section, option, default = None): |
| 73 | try: |
no outgoing calls
no test coverage detected