Message195245
Note that set operations on dict views work with lists, too. So the only change necessary is to replace
wrong_fields = [k for k in rowdict if k not in self.fieldnames]
with
wrong_fields = rowdict.keys() - self.filenames
(A backport to 2.7 would need to replace keys() with viewkeys()) |
|
Date |
User |
Action |
Args |
2013-08-15 10:23:17 | peter.otten | set | recipients:
+ peter.otten, terry.reedy, serhiy.storchaka, mtraskin |
2013-08-15 10:23:17 | peter.otten | set | messageid: <1376562197.39.0.404127077864.issue18219@psf.upfronthosting.co.za> |
2013-08-15 10:23:17 | peter.otten | link | issue18219 messages |
2013-08-15 10:23:17 | peter.otten | create | |
|