Permalink
Browse files

Fixed #7354 -- Fixed a Python 2.3 compatibility issue in formtools/wi…

…zard.py. Thanks, mage

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 3859314 commit 260d3be69f992cdff40cb68d9673e2ff15600864 @adrianholovaty adrianholovaty committed Jun 16, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/formtools/wizard.py
@@ -149,7 +149,7 @@ def security_hash(self, request, form):
data = [(bf.name, bf.data or '') for bf in form] + [settings.SECRET_KEY]
# Use HIGHEST_PROTOCOL because it's the most efficient. It requires
# Python 2.3, but Django requires 2.3 anyway, so that's OK.
- pickled = pickle.dumps(data, protocol=pickle.HIGHEST_PROTOCOL)
+ pickled = pickle.dumps(data, pickle.HIGHEST_PROTOCOL)
return md5.new(pickled).hexdigest()
def determine_step(self, request, *args, **kwargs):

0 comments on commit 260d3be

Please sign in to comment.