(s, local_vars)
| 241 | |
| 242 | |
| 243 | def _subst_vars(s, local_vars): |
| 244 | try: |
| 245 | return s.format(**local_vars) |
| 246 | except KeyError as var: |
| 247 | try: |
| 248 | return s.format(**os.environ) |
| 249 | except KeyError: |
| 250 | raise AttributeError(f'{var}') from None |
| 251 | |
| 252 | def _extend_dict(target_dict, other_dict): |
| 253 | target_keys = target_dict.keys() |
no test coverage detected
searching dependent graphs…