From 43b8c9edc1bbaea3f8e6bc090214621edc1840aa Mon Sep 17 00:00:00 2001 From: Aga Date: Wed, 18 Oct 2023 09:57:35 +0100 Subject: [PATCH] remove unnecessary code --- portality/bll/services/article.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/portality/bll/services/article.py b/portality/bll/services/article.py index 52ce61fb20..b5e829cd24 100644 --- a/portality/bll/services/article.py +++ b/portality/bll/services/article.py @@ -219,8 +219,6 @@ def create_article(self, article, account, duplicate_check=True, merge_duplicate # We do this after the permissions check because that gives a detailed result whereas this throws an exception try: self.is_acceptable(article) - except exceptions.ArticleNotAcceptable as e: - raise exceptions.ArticleNotAcceptable(message=e.message) except Exception as e: raise e