(self, section, field)
| 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: |
no outgoing calls
no test coverage detected