build: Remove newlines in task description

This commit is contained in:
Alexander Afanasyev
2018-03-14 22:05:53 -07:00
parent 07ea712723
commit d8066ab152
2 changed files with 2 additions and 2 deletions

View File

@@ -336,7 +336,7 @@ class ns3pcfile_task(Task.Task):
def __str__(self):
"string to display to the user"
tgt_str = ' '.join([a.bldpath() for a in self.outputs])
return 'pcfile: %s\n' % (tgt_str)
return 'pcfile: %s' % (tgt_str)
def runnable_status(self):
return super(ns3pcfile_task, self).runnable_status()

View File

@@ -31,7 +31,7 @@ class command_task(Task.Task):
pipeline = shellcmd.Pipeline()
pipeline.parse(self.generator.command)
cmd = pipeline.get_abbreviated_command()
return 'command (%s): %s%s%s\n' % (cmd, src_str, sep, tgt_str)
return 'command (%s): %s%s%s' % (cmd, src_str, sep, tgt_str)
def _subst_arg(self, arg, direction, namespace):
"""