summaryrefslogtreecommitdiff
path: root/configobjwalker.py
blob: c0ab6082b8443d2538501cf5f4085ac4f580b7b0 (plain)
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)