From d029723be8de98579a8d6b8b2f03b3602fdca19d Mon Sep 17 00:00:00 2001 From: Chip Black Date: Fri, 27 Jan 2012 04:05:46 -0600 Subject: [PATCH] Wrap things in a little less silly fashion --- trac-attack.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trac-attack.py b/trac-attack.py index 98abb2d..5df0585 100755 --- a/trac-attack.py +++ b/trac-attack.py @@ -46,7 +46,8 @@ def show_ticket(ticket): print "%-39s %-39s" % tuple(map(lambda x: "%s: %s" % (x[0], attributes[x[1]]), row)) print - print description_wrap.fill(attributes['description']) + for line in attributes['description'].split("\n"): + print description_wrap.fill(line) print def editor(): -- 2.25.1