Merge pull request #14717 from xiaket/devel

Fix __repr__ for meta tasks
This commit is contained in:
Brian Coca 2016-03-01 08:37:09 -05:00
commit 7af5787030

View file

@ -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()