From 2e37e4c18b5c33cbd4bbf207c30d90cef2f9b569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Thu, 14 Feb 2013 11:16:46 +0100 Subject: [PATCH] Comment the dev-file workflow.py --- openslides/motion/workflow.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/openslides/motion/workflow.py b/openslides/motion/workflow.py index f3f0ad5e4..42d1e1814 100644 --- a/openslides/motion/workflow.py +++ b/openslides/motion/workflow.py @@ -2,7 +2,10 @@ # -*- coding: utf-8 -*- """ openslides.motion.workflow - ~~~~~~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + + This file is only for development. It will be moved out of + the openslides module before the next release. :copyright: (c) 2011-2013 by the OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. @@ -13,9 +16,10 @@ from django.utils.translation import ugettext_noop from .models import Workflow, State -def init_builtin_workflows(): +def _init_builtin_workflows(): """ - Saves a simple and a complex workflow into the database. This function is only called manually. + Saves a simple and a complex workflow into the database. + This function is only called manually and lives here only for development. """ workflow_1 = Workflow(name=ugettext_noop('Simple Workflow'), id=1) state_1_1 = State.objects.create(name=ugettext_noop('submitted'), workflow=workflow_1,