equal
deleted
inserted
replaced
540 Traceback (most recent call last): |
540 Traceback (most recent call last): |
541 ... |
541 ... |
542 ConfigError: foo.invalid is not a byte quantity ('somevalue') |
542 ConfigError: foo.invalid is not a byte quantity ('somevalue') |
543 """ |
543 """ |
544 |
544 |
545 value = self.config(section, name) |
545 value = self.config(section, name, None, untrusted) |
546 if value is None: |
546 if value is None: |
547 if not isinstance(default, str): |
547 if not isinstance(default, str): |
548 return default |
548 return default |
549 value = default |
549 value = default |
550 try: |
550 try: |