Update deprecated messages
Commit 8022adb734
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
This commit is contained in:
parent
9f9065f206
commit
07b5ce8c4b
|
@ -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('/')
|
||||
|
|
Loading…
Reference in New Issue