components/python/oslo.serialization/patches/disable-oslo-deprecation.patch
branchs11-update
changeset 4072 db0cec748ec0
equal deleted inserted replaced
4067:4be1f488dda8 4072:db0cec748ec0
       
     1 This patch removes the legacy oslo namespace deprecation check from the
       
     2 oslo.serialization library. The deprecated() function is left to
       
     3 satisfy the unit tests. It is not suitable for the upstream and should
       
     4 be removed once all of the relevant consumers have switched over to the
       
     5 new namespace.
       
     6 
       
     7 --- oslo.serialization-1.2.0/oslo/serialization/__init__.py.~1~	2015-01-08 13:32:40.000000000 -0800
       
     8 +++ oslo.serialization-1.2.0/oslo/serialization/__init__.py	2015-03-02 23:09:07.429941098 -0800
       
     9 @@ -21,6 +21,3 @@ def deprecated():
       
    10          DeprecationWarning,
       
    11          stacklevel=3,
       
    12      )
       
    13 -
       
    14 -
       
    15 -deprecated()