configobjwalker.py 336 B

123456789101112131415
  1. # coding: utf-8
  2. import warnings
  3. from ruamel.yaml.util import configobj_walker as new_configobj_walker
  4. from typing import Any
  5. def configobj_walker(cfg: Any) -> Any:
  6. warnings.warn(
  7. 'configobj_walker has moved to ruamel.yaml.util, please update your code',
  8. stacklevel=2,
  9. )
  10. return new_configobj_walker(cfg)