From ee36974d6f598ffdac1cfb8834dd7bd8c1d3c424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Fri, 6 Dec 2013 13:12:04 +0100 Subject: [PATCH] Fixed the value of total_story_points in the sample data command to show the doomline more frequently. Increased the range of valid values --- greenmine/projects/management/commands/sample_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greenmine/projects/management/commands/sample_data.py b/greenmine/projects/management/commands/sample_data.py index 4f799360..b14ab238 100644 --- a/greenmine/projects/management/commands/sample_data.py +++ b/greenmine/projects/management/commands/sample_data.py @@ -129,7 +129,7 @@ class Command(BaseCommand): # Set a value to total_story_points to show the deadline in the backlog defined_points = sum(project.defined_points.values()) - project.total_story_points = int(defined_points * self.sd.int(5,10) / 10) + project.total_story_points = int(defined_points * self.sd.int(5,12) / 10) project.save() # create bugs.