Revision 6674
Added by Aaron Marcuse-Kubitza about 12 years ago
dict2redmine | ||
---|---|---|
71 | 71 |
|
72 | 72 |
table = RedmineTableWriter(self.stream) |
73 | 73 |
for i, col_name in enumerate(self.header): |
74 |
table.writerow([redmine_bold(col_name), row[i]]) |
|
74 |
value = row[i] |
|
75 |
if value: table.writerow([redmine_bold(col_name), value]) |
|
75 | 76 |
|
76 | 77 |
|
77 | 78 |
def main(): |
Also available in: Unified diff
dict2redmine: RedmineDictWriter: Omit empty columns from the fields table