Project

General

Profile

« Previous | Next » 

Revision 6674

dict2redmine: RedmineDictWriter: Omit empty columns from the fields table

View differences:

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