summaryrefslogtreecommitdiff
path: root/roadmap/management/commands/burndown_snapshot.py
diff options
context:
space:
mode:
Diffstat (limited to 'roadmap/management/commands/burndown_snapshot.py')
-rw-r--r--roadmap/management/commands/burndown_snapshot.py22
1 files changed, 20 insertions, 2 deletions
diff --git a/roadmap/management/commands/burndown_snapshot.py b/roadmap/management/commands/burndown_snapshot.py
index 408121a..ecbefac 100644
--- a/roadmap/management/commands/burndown_snapshot.py
+++ b/roadmap/management/commands/burndown_snapshot.py
@@ -1,11 +1,29 @@
+# Copyright (C) 2013 Linaro
+#
+# This file is part of roadmap.
+#
+# roadmap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# roadmap is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with roadmap. If not, see <http://www.gnu.org/licenses/>.
+
from django.core.management.base import BaseCommand, CommandError
from django.conf import settings
from optparse import make_option
from roadmap.helpers import collect_burndown, collect_component_burndown
from roadmap.models import Project, CardType
-BURNDOWN_PROJECT='project'
-BURNDOWN_CARDTYPE='cardtype'
+BURNDOWN_PROJECT = 'project'
+BURNDOWN_CARDTYPE = 'cardtype'
+
class Command(BaseCommand):
option_list = BaseCommand.option_list + (