From 66071b5841c4244364c9a66850eb075049112a1d Mon Sep 17 00:00:00 2001 From: Anler Hp Date: Wed, 18 Jun 2014 14:14:14 +0200 Subject: [PATCH] Removing duplicated code --- taiga/projects/models.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/taiga/projects/models.py b/taiga/projects/models.py index 559661a6..ff1d3a10 100644 --- a/taiga/projects/models.py +++ b/taiga/projects/models.py @@ -189,10 +189,6 @@ class Project(ProjectDefaults, TaggedMixin): if len(roles) == 0: return - # Do nothing if project does not have roles - if len(roles) == 0: - return - # Get point instance that represent a null/undefined null_points_value = self.points.get(value=None)