aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/ruamel.yaml/py3/ruamel/yaml/configobjwalker.py
blob: 28318f125e79675ad6d90e3d7a6367ca45e05680 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# coding: utf-8

import warnings

from ruamel.yaml.util import configobj_walker as new_configobj_walker

from typing import Any


def configobj_walker(cfg: Any) -> Any:
    warnings.warn(
        'configobj_walker has moved to ruamel.yaml.util, please update your code',
        stacklevel=2,
    )
    return new_configobj_walker(cfg)