summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@linaro.org>2013-09-25 10:22:55 +0100
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2013-09-25 11:10:41 +0100
commitbc5186e4a997f53b587e5caee733ab81f198d260 (patch)
treef055267319f39d68711c473fc5976a27b62bded4
parent2dcc848ed3f36b98257bf1b2ed5a40b3a85e412b (diff)
downloadroadmap-bc5186e4a997f53b587e5caee733ab81f198d260.tar.gz
PEP8 fixes
Change-Id: I040d394a78ae46dc7682ba5c715096076ea84e15
-rw-r--r--roadmap/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/roadmap/models.py b/roadmap/models.py
index 423cf83..8af5cb4 100644
--- a/roadmap/models.py
+++ b/roadmap/models.py
@@ -80,13 +80,13 @@ class Milestone(models.Model):
def is_from_selected(self):
milestones = Milestone.objects.filter(is_major=True).order_by("date")
- if self == milestones[milestones.count()-2]:
+ if self == milestones[milestones.count() - 2]:
return True
return False
def is_to_selected(self):
milestones = Milestone.objects.filter(is_major=True).order_by("date")
- if self == milestones[milestones.count()-1]:
+ if self == milestones[milestones.count() - 1]:
return True
return False