Changes between Initial Version and Version 1 of Ticket #11902, comment 5


Ignore:
Timestamp:
Aug 30, 2014, 12:49:41 PM (10 years ago)
Author:
Steffen Hoffmann
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11902, comment 5

    initial v1  
    33Sorry for the bad formatted patch (I use it and it runs, so something went wrong when I uploaded the diff).
    44
    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).
     5As 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).
    66
    7 That's why, in my patch, I first retrieve the dict(zip(...)) before to call topic_status_to_list(row['status'])
     7That's why, in my patch, I first retrieve the dict(zip(...)) before to call topic_status_to_list(row!['status'])
    88
    99jun66j5's patch is indeed much better, in my humble opinion.