Merge "Deprecated the yamlutils module."
This commit is contained in:
commit
301b0cb54c
@ -18,9 +18,16 @@ of yaml manager in all the openstack projects.
|
||||
Use this module inside openstack projects to handle yaml securely and properly.
|
||||
"""
|
||||
|
||||
from debtcollector import removals
|
||||
import yaml
|
||||
|
||||
|
||||
removals.removed_module(
|
||||
'oslo_serialization.yamlutils', version='3.0.0',
|
||||
removal_version='4.0.0',
|
||||
message='The oslo_serialization.yamlutils will be removed')
|
||||
|
||||
|
||||
def load(stream, is_safe=True):
|
||||
"""Converts a YAML document to a Python object.
|
||||
|
||||
|
@ -13,3 +13,4 @@ msgpack>=0.5.2 # Apache-2.0
|
||||
oslo.utils>=3.33.0 # Apache-2.0
|
||||
pytz>=2013.6 # MIT
|
||||
PyYAML>=3.12 # MIT
|
||||
debtcollector>=1.2.0 # Apache-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user