Ticket #7354: 7354.diff

File 7354.diff, 739 bytes (added by Simon Greenhill, 16 years ago)

patch from mage.

  • django_src/django/contrib/formtools/wizard.py

     
    149149        data = [(bf.name, bf.data or '') for bf in form] + [settings.SECRET_KEY]
    150150        # Use HIGHEST_PROTOCOL because it's the most efficient. It requires
    151151        # Python 2.3, but Django requires 2.3 anyway, so that's OK.
    152         pickled = pickle.dumps(data, protocol=pickle.HIGHEST_PROTOCOL)
     152        pickled = pickle.dumps(data, pickle.HIGHEST_PROTOCOL)
    153153        return md5.new(pickled).hexdigest()
    154154
    155155    def determine_step(self, request, *args, **kwargs):
Back to Top