Update Images config
*Added do_not_delete_files config for Images *Updated copyright date Change-Id: I2548ccbaa1548a95227b9bdf397eac2f91f01441
This commit is contained in:
parent
9601075df2
commit
739ad6465c
@ -1,5 +1,5 @@
|
||||
"""
|
||||
Copyright 2013 Rackspace
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@ -237,6 +237,12 @@ class ImagesConfig(ConfigSectionInterface):
|
||||
"""Length of time to wait before giving up on reaching a status"""
|
||||
return int(self.get("task_timeout"))
|
||||
|
||||
@property
|
||||
def do_not_delete_files(self):
|
||||
"""List of files that should not be deleted"""
|
||||
return ([x.strip() for x in
|
||||
self.get('do_not_delete_files', "").split(',')])
|
||||
|
||||
@property
|
||||
def image_schema_json(self):
|
||||
"""Path to json file which contains the image schema data"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user