Remove unused function make_image_dict
We don't use this any more. Change-Id: Ib95ed58718a4bbf9ca46bfccc5f24a8211755270
This commit is contained in:
parent
2d2402a733
commit
9dbce5a757
|
@ -32,14 +32,6 @@ from task_manager import TaskManager, ManagerStoppedException
|
|||
IPS_LIST_AGE = 5 # How long to keep a cached copy of the ip list
|
||||
|
||||
|
||||
def make_image_dict(image):
|
||||
d = dict(id=str(image.id), name=image.name, status=image.status,
|
||||
metadata=image.metadata)
|
||||
if hasattr(image, 'progress'):
|
||||
d['progress'] = image.progress
|
||||
return d
|
||||
|
||||
|
||||
@contextmanager
|
||||
def shade_inner_exceptions():
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue