Django

Code

Changeset 6754

Show
Ignore:
Timestamp:
11/29/07 15:10:11 (11 months ago)
Author:
mtredinnick
Message:

Fixed a Python 2.3 incompatibility.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/formtools/preview.py

    r6247 r6754  
    110110        # Use HIGHEST_PROTOCOL because it's the most efficient. It requires 
    111111        # Python 2.3, but Django requires 2.3 anyway, so that's OK. 
    112         pickled = pickle.dumps(data, protocol=pickle.HIGHEST_PROTOCOL) 
     112        pickled = pickle.dumps(data, pickle.HIGHEST_PROTOCOL) 
    113113        return md5.new(pickled).hexdigest() 
    114114