From fffc39a01470ccf34178fed1363276dfd364a4dc 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 b1d4ee69..d769d6d2 100644 --- a/document_page_approval/models/document_page_history.py +++ b/document_page_approval/models/document_page_history.py @@ -102,9 +102,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',