components/python/oslo.utils/patches/disable-oslo-deprecation.patch
changeset 3998 5bd484384122
equal deleted inserted replaced
3997:0ca3f3d6c919 3998:5bd484384122
       
     1 This patch removes the legacy oslo namespace deprecation check from the
       
     2 oslo.utils library. The deprecated() function is left to satisfy the
       
     3 unit tests. It is not suitable for the upstream and should be removed
       
     4 once all of the relevant consumers have switched over to the new
       
     5 namespace.
       
     6 
       
     7 --- oslo.utils-1.2.1/oslo/utils/__init__.py.~1~	2015-01-08 13:42:18.000000000 -0800
       
     8 +++ oslo.utils-1.2.1/oslo/utils/__init__.py	2015-03-02 23:10:23.349348280 -0800
       
     9 @@ -21,6 +21,3 @@ def deprecated():
       
    10          DeprecationWarning,
       
    11          stacklevel=3,
       
    12      )
       
    13 -
       
    14 -
       
    15 -deprecated()