strictyaml/ruamel/configobjwalker.py
raw| 1 | # coding: utf-8 |
| 2 | |
| 3 | import warnings |
| 4 | |
| 5 | from strictyaml.ruamel.util import configobj_walker as new_configobj_walker |
| 6 | |
| 7 | if False: # MYPY |
| 8 | from typing import Any # NOQA |
| 9 | |
| 10 | |
| 11 | def configobj_walker(cfg): |
| 12 | # type: (Any) -> Any |
| 13 | warnings.warn( |
| 14 | "configobj_walker has moved to strictyaml.ruamel.util, please update your code" |
| 15 | ) |
| 16 | return new_configobj_walker(cfg) |