| Subject: | [Zodb-checkins] SVN: ZODB/branches/gocept-iteration/src/ZODB/BaseStorage.py Always pickle the extension, even when it's just the empty dictionary (which |
|---|---|
| From: | Christian Theune |
| Date: | Thu, 14 Feb 2008 09:06:30 -0500 EST |
Log message for revision 83833:
Always pickle the extension, even when it's just the empty dictionary (which
it is by default).
Changed:
U ZODB/branches/gocept-iteration/src/ZODB/BaseStorage.py
-=-
Modified: ZODB/branches/gocept-iteration/src/ZODB/BaseStorage.py
===================================================================
--- ZODB/branches/gocept-iteration/src/ZODB/BaseStorage.py 2008-02-14
13:49:15 UTC (rev 83832)
+++ ZODB/branches/gocept-iteration/src/ZODB/BaseStorage.py 2008-02-14
14:06:28 UTC (rev 83833)
@@ -188,10 +188,7 @@
user = transaction.user
desc = transaction.description
ext = transaction._extension
- if ext:
- ext = cPickle.dumps(ext, 1)
- else:
- ext = ""
+ ext = cPickle.dumps(ext, 1)
self._ude = user, desc, ext
if tid is None:
_______________________________________________
Zodb-checkins mailing list
Zodb-checkins@xxxxxxxx
http://mail.zope.org/mailman/listinfo/zodb-checkins
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Zodb-checkins] SVN: ZODB/branches/gocept-iteration/src/ZEO/tests/IterationTests.py snapshot, Thomas Lotze |
|---|---|
| Next by Date: | [Zodb-checkins] SVN: ZODB/branches/gocept-iteration/src/ZODB/DemoStorage.py - Clean up demostorage so it doesn't create empty transactions. None of the, Christian Theune |
| Previous by Thread: | [Zodb-checkins] SVN: ZODB/branches/gocept-iteration/src/ZEO/tests/IterationTests.py snapshot, Thomas Lotze |
| Next by Thread: | [Zodb-checkins] SVN: ZODB/branches/gocept-iteration/src/ZODB/DemoStorage.py - Clean up demostorage so it doesn't create empty transactions. None of the, Christian Theune |
| Indexes: | [Date] [Thread] [Top] [All Lists] |