[Erp5-report] r35048 nicolas.dumazet - /erp5/trunk/products/ERP5SyncML/Signature.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu May 6 11:16:45 CEST 2010
Author: nicolas.dumazet
Date: Thu May 6 11:16:45 2010
New Revision: 35048
URL: http://svn.erp5.org?rev=35048&view=rev
Log:
unbreak code if first chunk is bigger than size_lines
Modified:
erp5/trunk/products/ERP5SyncML/Signature.py
Modified: erp5/trunk/products/ERP5SyncML/Signature.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/Signature.py?rev=35048&r1=35047&r2=35048&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/Signature.py [utf8] (original)
+++ erp5/trunk/products/ERP5SyncML/Signature.py [utf8] Thu May 6 11:16:45 2010
@@ -389,7 +389,9 @@
chunk = list()
chunk.append(self.partial_xml.data)
size = chunk[0].count('\n')
- current = next = self.partial_xml.next
+
+ current = self.partial_xml
+ next = current.next
while size < size_lines and next is not None:
current = next
size += current.data.count('\n')
More information about the Erp5-report
mailing list