From: Gary Kotton Date: Wed, 4 Nov 2015 13:59:22 +0000 (-0800) Subject: Update deprecated messages X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=07b5ce8c4b8f3452651dc0ebb3280ae0e91cc827;p=openstack-build%2Fneutron-build.git Update deprecated messages 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 --- diff --git a/neutron/common/utils.py b/neutron/common/utils.py index f0b57e379..83886d597 100644 --- a/neutron/common/utils.py +++ b/neutron/common/utils.py @@ -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('/')