Skip to content

Commit

Permalink
[FIX] syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Feb 2, 2015
1 parent 59aae1a commit 45ae6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attachments_to_filesystem/models/ir_attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _attachments_to_filesystem_cron(self, cr, uid, context=None,
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]
Expand Down

0 comments on commit 45ae6ea

Please sign in to comment.