Message112099
This only happens on somewhat complex files, I haven't been able yet to isolate the source of this but here goes:
For django trunk, running 2to3 on django/contrib/admin/options.py yields the following:
@@ -282,7 +282,7 @@
if self.declared_fieldsets:
return self.declared_fieldsets
form = self.get_form(request, obj)
- fields = [..].keys() + list([...])
+ fields = list(list([...]keys())) + list([...])
instead of
+ fields = list([...].keys()) + etc.
and there are a couple of more instances in the same file.
However running 2to3 on the single line above, out of the file gives the correct result. This is only an issue with the fix_dict fixer. |
|
Date |
User |
Action |
Args |
2010-07-30 19:28:21 | gboutsioukis | set | recipients:
+ gboutsioukis |
2010-07-30 19:28:21 | gboutsioukis | set | messageid: <1280518101.61.0.560600920548.issue9431@psf.upfronthosting.co.za> |
2010-07-30 19:28:19 | gboutsioukis | link | issue9431 messages |
2010-07-30 19:28:18 | gboutsioukis | create | |
|