components/python/oslo.i18n/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.i18n 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.i18n-1.3.1/oslo/i18n/__init__.py.~1~	2015-01-27 05:34:49.000000000 -0800
       
     8 +++ oslo.i18n-1.3.1/oslo/i18n/__init__.py	2015-03-02 22:45:07.303224309 -0800
       
     9 @@ -26,6 +26,3 @@ def deprecated():
       
    10          DeprecationWarning,
       
    11          stacklevel=3,
       
    12      )
       
    13 -
       
    14 -
       
    15 -deprecated()