Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
amdomanska committed Oct 18, 2023
1 parent 5eba6d1 commit 43b8c9e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions portality/bll/services/article.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 43b8c9e

Please sign in to comment.