This commit is contained in:
Thomas Nagy 2017-03-08 18:26:20 +01:00
parent 6a4091718e
commit 90ab7a2ae9
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA
2 changed files with 3 additions and 8 deletions

View File

@ -1325,7 +1325,7 @@ class ListContext(BuildContext):
self.get_tgen_by_name('')
except Errors.WafError:
pass
targets = sorted(self.task_gen_cache_names)
# figure out how much to left-justify, for largest target name
@ -1336,10 +1336,10 @@ class ListContext(BuildContext):
# Support displaying the description for the target
# if it was set on the tgen
descript = getattr(tgen, 'description', None) or ''
descript = getattr(tgen, 'description', '')
if descript:
target = target.ljust(line_just)
descript = ': {}'.format(descript)
descript = ': %s' % descript
Logs.pprint('GREEN', target, label=descript)

View File

@ -51,11 +51,6 @@ class task_gen(object):
self.source = []
self.target = ''
self.description = ''
"""
String describing the target, used for display purposes
"""
self.meths = []
"""
List of method names to execute (internal)