#3428: [full-history] [patch] Small fixes to the code
--------------------------------------+-------------------------------------
Reporter: ramiro <rm0 _at_ gmx.net> | Owner: jacob
Status: new | Component: Uncategorized
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
--------------------------------------+-------------------------------------
This patch fixes:
* There are some TAB chars indenting the Python code. From the context it
can be deduced that they were used to represent 8 spaces.
* In {{{django/contrib/history/models.py}}}: The {{{Pickle.dumps}}} call
in {{{save_new_revision()}}} uses named {{{protocol=0}}} as a second
parameter. It gives me an error under Python 2.3 (and this result in the
the save operation failing always) but from the Python 2.5
![1]documentation it's clear than nothing has changed since 2.3 times in
that method. The fix is just call it using 0 or not use it at all.
This patch is against the branch code as of [4459]
--
Ticket URL: <http://code.djangoproject.com/ticket/3428>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---