Commits

Ned Batchelder committed e8696f8

Nicer formatting for lists in 'debug sys'

  • Participants
  • Parent commits aae421b

Comments (0)

Files changed (1)

File coverage/cmdline.py

                     if info == []:
                         info = "-none-"
                     if isinstance(info, list):
-                        print("%15s:" % label)
+                        prefix = "%15s:" % label
                         for e in info:
-                            print("%15s  %s" % ("", e))
+                            print("%16s %s" % (prefix, e))
+                            prefix = ""
                     else:
                         print("%15s: %s" % (label, info))
             elif info == 'data':