Make task repr really work for meta tasks.

Signed-off-by: 夏恺(Xia Kai) <xiaket@xiaket@gmail.com>
pull/14717/head
夏恺(Xia Kai) 9 years ago
parent 915037c628
commit d033c40e80

@ -133,7 +133,7 @@ class Task(Base, Conditional, Taggable, Become):
def __repr__(self):
''' returns a human readable representation of the task '''
if self.get_name() == 'meta ':
if self.get_name() == 'meta':
return "TASK: meta (%s)" % self.args['_raw_params']
else:
return "TASK: %s" % self.get_name()

Loading…
Cancel
Save