]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Update deprecated messages
authorGary Kotton <gkotton@vmware.com>
Wed, 4 Nov 2015 13:59:22 +0000 (05:59 -0800)
committerGary Kotton <gkotton@vmware.com>
Wed, 4 Nov 2015 14:52:34 +0000 (06:52 -0800)
Commit 8022adb7342b09886f53c91c12d0b37986fbf35c marked the
methods read_cached_file, find_config_file and
get_keystone_url as not used in Liberty.

This code only landed a few days ago. Updated the deprecated
message to be after Mitaka so that external plugins will have
some grace period to clean up their code.

Change-Id: Ia5ce564837c4855450aa9da94c276e4beb62900c

neutron/common/utils.py

index f0b57e3793c799c33e792cfb97ffbd173f60a63c..83886d5979b48d018143f1042568c1b30530588f 100644 (file)
@@ -112,7 +112,7 @@ class cache_method_results(object):
         return functools.partial(self.__call__, obj)
 
 
-@debtcollector.removals.remove(message="Unused in Liberty release.")
+@debtcollector.removals.remove(message="This will removed in the N cycle.")
 def read_cached_file(filename, cache_info, reload_func=None):
     """Read from a file if it has been modified.
 
@@ -134,7 +134,7 @@ def read_cached_file(filename, cache_info, reload_func=None):
     return cache_info['data']
 
 
-@debtcollector.removals.remove(message="Unused in Liberty release.")
+@debtcollector.removals.remove(message="This will removed in the N cycle.")
 def find_config_file(options, config_file):
     """Return the first config file found.
 
@@ -382,7 +382,7 @@ def is_dvr_serviced(device_owner):
             device_owner in dvr_serviced_device_owners)
 
 
-@debtcollector.removals.remove(message="Unused in Liberty release.")
+@debtcollector.removals.remove(message="This will removed in the N cycle.")
 def get_keystone_url(conf):
     if conf.auth_uri:
         auth_uri = conf.auth_uri.rstrip('/')