1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

[full-history]

Refs #3428 -- Removed 'protocol=0' parameter



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@4739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Uroš Trebec 2007-03-15 16:16:26 +00:00
parent abc893adad
commit bc57c16935

View File

@ -208,7 +208,7 @@ def save_new_revision(sender, instance, signal, signal_name, *args, **kwargs):
#print "Log: ",log.change_time
try:
log.object = Pickle.dumps(old, protocol=0)
log.object = Pickle.dumps(old)
log.save()
print "New change saved."
except: