[Neo-report] r2441 gregory - /trunk/neo/client/app.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Nov 9 16:57:18 CET 2010
Author: gregory
Date: Tue Nov 9 16:57:17 2010
New Revision: 2441
Log:
Define thoses variables even if compression is disabled.
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] Tue Nov 9 16:57:17 2010
@@ -642,6 +642,8 @@ class Application(object):
compression = 0
else:
assert data_serial is None
+ compression = self.compress
+ compressed_data = data
if self.compress:
compressed_data = compress(data)
if len(compressed_data) > len(data):
More information about the Neo-report
mailing list