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

import warnings

from ruamel.yaml.util import configobj_walker as new_configobj_walker

if False:  # MYPY
    from typing import Any  # NOQA


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