Show More
@@ -507,8 +507,7 b' class Inspector:' | |||
|
507 | 507 | out = [] |
|
508 | 508 | header = self.__head |
|
509 | 509 | if title_width == 0: |
|
510 |
for title, _ in fields |
|
|
511 | title_width = max(len(title) + 2, title_width) | |
|
510 | title_width = max(len(title) + 2 for title, _ in fields) | |
|
512 | 511 | for title, content in fields: |
|
513 | 512 | if len(content.splitlines()) > 1: |
|
514 | 513 | title = header(title + ":") + "\n" |
General Comments 0
You need to be logged in to leave comments.
Login now