[Mpuls-commits] r1861 - wasko/branches/2.0/jmdweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Mar 1 08:40:50 CET 2010
Author: torsten
Date: 2010-03-01 08:40:50 +0100 (Mon, 01 Mar 2010)
New Revision: 1861
Modified:
wasko/branches/2.0/jmdweb/controllers/casedocument.py
Log:
Formatting
Modified: wasko/branches/2.0/jmdweb/controllers/casedocument.py
===================================================================
--- wasko/branches/2.0/jmdweb/controllers/casedocument.py 2010-03-01 07:39:11 UTC (rev 1860)
+++ wasko/branches/2.0/jmdweb/controllers/casedocument.py 2010-03-01 07:40:50 UTC (rev 1861)
@@ -6,16 +6,14 @@
from pylons import request, session, tmpl_context as c
from pylons.controllers.util import redirect_to
+from mpulsweb.lib.base import BaseController, render
from mpulsweb.lib.security import checkRole
import mpulsweb.lib.helpers as h
+
from mpulsweb.model.document import Document, deleteDocument
-from mpulsweb.lib.base import BaseController, render
-
-
log = logging.getLogger(__name__)
-
SET_ATTACHMENT_SUCCESS_HEADER = u"""Anlage hinzugefügt!"""
SET_ATTACHMENT_SUCCESS_TEXT = u"""\
Bitte klicken Sie auf "OK", um fortzufahren."""
@@ -33,7 +31,6 @@
Wollen Sie die Anlage wirklich löschen und die Daten unwiederbringlich
verlieren?"""
-
class CasedocumentController(BaseController):
@checkRole(('admin_ka', 'cm_ka'))
More information about the Mpuls-commits
mailing list