From 9ef38dee3b8fdb9e229311e88aaa77cca01355ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Todorovich?= Date: Tue, 24 Apr 2018 15:50:18 -0300 Subject: [PATCH] [document_page_approval] Fix LINT --- document_page_approval/models/document_page_history.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/document_page_approval/models/document_page_history.py b/document_page_approval/models/document_page_history.py index f18f700d..9a4e3c38 100644 --- a/document_page_approval/models/document_page_history.py +++ b/document_page_approval/models/document_page_history.py @@ -120,9 +120,8 @@ class DocumentPageHistory(models.Model): 'You are not authorized to do this.\r\n' 'Only approvers with these groups can approve this: ' ) % ', '.join( - [g.display_name - for g in rec.page_id.approver_group_ids]) - ) + [g.display_name + for g in rec.page_id.approver_group_ids])) # Update state rec.write({ 'state': 'approved',