[MERGE] don't assign a reused node.text value.

lp bug: https://launchpad.net/bugs/640677 fixed

bzr revid: vmt@openerp.com-20110525080921-fyrkdkdm3niupn1f
This commit is contained in:
Vo Minh Thu 2011-05-25 10:09:21 +02:00
commit 6d0f31fbd1
1 changed files with 2 additions and 2 deletions

View File

@ -795,10 +795,10 @@ class _rml_flowable(object):
return False
else:
import base64
newtext = node.text
if self.localcontext:
newtext = utils._process_text(self, node.text or '')
node.text = newtext
image_data = base64.decodestring(node.text)
image_data = base64.decodestring(newtext)
if not image_data:
self._logger.debug("No inline image data")
return False