Remove unused function make_image_dict

We don't use this any more.

Change-Id: Ib95ed58718a4bbf9ca46bfccc5f24a8211755270
This commit is contained in:
Monty Taylor 2016-11-29 08:50:13 -06:00
parent 2d2402a733
commit 9dbce5a757
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 0 additions and 8 deletions

View File

@ -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: