From 1c03364ffdb24ba24ad9837bd81da9e9b3f5eac5 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 8d9f857f..9b95a7ea 100644 --- a/document_page_approval/models/document_page_history.py +++ b/document_page_approval/models/document_page_history.py @@ -103,9 +103,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',