[FIX] syntax

This commit is contained in:
Holger Brunn 2015-02-02 13:14:54 +01:00
parent 855d8ecb73
commit cbe4f15adf

View File

@ -91,7 +91,7 @@ class IrAttachment(Model):
cr, uid, [('db_datas', '!=', False)], limit=limit, context=context)
logging.info('moving %d attachments to filestore', len(attachment_ids))
# attachments can be big, so we read every attachment on its own
for counter, attachment_id in enumerate(attachment_ids, start=1)
for counter, attachment_id in enumerate(attachment_ids, start=1):
attachment_data = ir_attachment.read(
cr, uid, [attachment_id], ['datas', 'res_model'],
context=context)[0]