File: configobjwalker.py

package info (click to toggle)
ruamel.yaml 0.15.89-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,508 kB
  • sloc: python: 10,725; ansic: 7,392; makefile: 11
file content (14 lines) | stat: -rw-r--r-- 342 bytes parent folder | download
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)