From db0388967994abeae8e3be799f49bdf0096ec824 Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Sat, 24 Feb 2018 11:22:27 +0100 Subject: [PATCH] Deleted duplicated lines in models/article.py --- src/wiki/models/article.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wiki/models/article.py b/src/wiki/models/article.py index f5accc27..68b430dd 100644 --- a/src/wiki/models/article.py +++ b/src/wiki/models/article.py @@ -337,8 +337,6 @@ class BaseRevisionMixin(models.Model): self.previous_revision = predecessor self.deleted = predecessor.deleted self.locked = predecessor.locked - self.deleted = predecessor.deleted - self.locked = predecessor.locked self.revision_number = predecessor.revision_number + 1 class Meta: -- 2.45.2