[Neo-report] r2280 vincent - /trunk/neo/client/app.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 2 18:29:48 CEST 2010


Author: vincent
Date: Thu Sep  2 18:29:47 2010
New Revision: 2280

Log:
Also replace data value when it's None (fixes r2273).

Otherwise, None ends up being put in object cache, which fails.

Modified:
    trunk/neo/client/app.py

Modified: trunk/neo/client/app.py
==============================================================================
--- trunk/neo/client/app.py [iso-8859-1] (original)
+++ trunk/neo/client/app.py [iso-8859-1] Thu Sep  2 18:29:47 2010
@@ -605,7 +605,7 @@ class Application(object):
         if data is None or data_serial is not None:
             assert data is None or data_serial is None, data_serial
             # this is a George Bailey object, stored as an empty string
-            compressed_data = ''
+            data = compressed_data = ''
             compression = 0
         else:
             assert data_serial is None





More information about the Neo-report mailing list