[Neo-report] r1824 vincent - /trunk/neo/client/app.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Feb 22 17:58:09 CET 2010
Author: vincent
Date: Mon Feb 22 17:58:09 2010
New Revision: 1824
Log:
Fix bug introduced in r1820 causing data to be always stored uncompressed.
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] Mon Feb 22 17:58:09 2010
@@ -556,7 +556,7 @@
# this is a George Bailey object, stored as an empty string
data = ''
compressed_data = compress(data)
- if len(compressed_data) > data:
+ if len(compressed_data) > len(data):
compressed_data = data
compression = 0
else:
More information about the Neo-report
mailing list