commit:d029723be8de98579a8d6b8b2f03b3602fdca19d
author:Chip Black
committer:Chip Black
date:Fri Jan 27 04:05:46 2012 -0600
parents:ab56938fe5dc457e407daa988da2f684de54ab1a
Wrap things in a little less silly fashion
diff --git a/trac-attack.py b/trac-attack.py
line changes: +2/-1
index 98abb2d..5df0585
--- 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():