Skip to content

Commit

Permalink
Merge d51a3ae into 5ea20cc
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Wolf committed Jul 13, 2015
2 parents 5ea20cc + d51a3ae commit 4c4f664
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/python/pybuilder/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def length_of_longest_string(list_of_strings):


def task_description(task):
return " ".join(task.description) or "<no description available>"
return "".join(task.description) or "<no description available>"


def print_list_of_tasks(reactor, quiet=False):
Expand Down
4 changes: 2 additions & 2 deletions src/unittest/python/cli_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def test_should_render_verbose_task_list_with_descriptions(self):
print_list_of_tasks(self.mock_reactor, quiet=False)

verify(pybuilder.cli).print_text_line('Tasks found for project "any-project-name":')
verify(pybuilder.cli).print_text_line(' task-1 - any description for task 1')
verify(pybuilder.cli).print_text_line(' task-2 - any description for task 2')
verify(pybuilder.cli).print_text_line(' task-1 - anydescriptionfortask1')
verify(pybuilder.cli).print_text_line(' task-2 - anydescriptionfortask2')


class StdOutLoggerTest(unittest.TestCase):
Expand Down

0 comments on commit 4c4f664

Please sign in to comment.