Changes between Initial Version and Version 1 of Ticket #11902, comment 5
- Timestamp:
- Aug 30, 2014, 12:49:41 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11902, comment 5
initial v1 3 3 Sorry for the bad formatted patch (I use it and it runs, so something went wrong when I uploaded the diff). 4 4 5 As far as I understand it, the error comes from the execution of row ['status'], because row is not 'yet' a dict when used in the call to topic_status_to_list() (I can be wrong, I'm not a python expert at all).5 As far as I understand it, the error comes from the execution of row!['status'], because row is not 'yet' a dict when used in the call to topic_status_to_list() (I can be wrong, I'm not a python expert at all). 6 6 7 That's why, in my patch, I first retrieve the dict(zip(...)) before to call topic_status_to_list(row ['status'])7 That's why, in my patch, I first retrieve the dict(zip(...)) before to call topic_status_to_list(row!['status']) 8 8 9 9 jun66j5's patch is indeed much better, in my humble opinion.