| | |
| | | value = eget(env_key, value) |
| | | value = type_(value) |
| | | d.update({k: value for k in keys}) |
| | | def O(settings_key, override_key): |
| | | def O(settings_key, override_key): # noqa: E743 |
| | | for key in expand_key(settings_key): |
| | | d[key] = d[key] or d[override_key] |
| | | |
| | |
| | | # will be the same: a directory name to the package itself |
| | | try: |
| | | package.__abspath__ = prefix |
| | | except: |
| | | except Exception: |
| | | # this is only an optimization, ignore any error |
| | | pass |
| | | return prefix |
| | |
| | | if last_frame.function == 'extract_stack': # pragma: no cover |
| | | f.pop() |
| | | info = ActionInfo(*f[-backframes]) |
| | | except: # pragma: no cover |
| | | except Exception: # pragma: no cover |
| | | info = ActionInfo(None, 0, '', '') |
| | | self._ainfo.append(info) |
| | | try: |