taskLabel for createAppliance

This commit is contained in:
Mike Bonnet 2010-10-21 14:21:57 -04:00
parent 9d4a6b2c0e
commit b35c6ae75b

View file

@ -2078,7 +2078,7 @@ def taskLabel(taskInfo):
nvrs = taskInfo['request'][2]
if isinstance(nvrs, list):
extra += ', ' + ', '.join(nvrs)
elif method == 'createLiveCD':
elif method in ('createLiveCD', 'createAppliance'):
if taskInfo.has_key('request'):
arch, target, ksfile = taskInfo['request'][:3]
extra = '%s, %s, %s' % (target, arch, os.path.basename(ksfile))