[Mpuls-commits] r2226 - in wasko/branches/2.0: . mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Mar 25 21:03:48 CET 2010


Author: bh
Date: 2010-03-25 21:03:47 +0100 (Thu, 25 Mar 2010)
New Revision: 2226

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/mpulsweb/controllers/settings.py
Log:
* mpulsweb/controllers/settings.py: Fix formatting.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-03-25 20:03:01 UTC (rev 2225)
+++ wasko/branches/2.0/ChangeLog	2010-03-25 20:03:47 UTC (rev 2226)
@@ -1,5 +1,9 @@
 2010-03-25  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/controllers/settings.py: Fix formatting.
+
+2010-03-25  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/controllers/settings.py: Remove unused imports.
 
 2010-03-25  Bernhard Herzog  <bh at intevation.de>

Modified: wasko/branches/2.0/mpulsweb/controllers/settings.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/settings.py	2010-03-25 20:03:01 UTC (rev 2225)
+++ wasko/branches/2.0/mpulsweb/controllers/settings.py	2010-03-25 20:03:47 UTC (rev 2226)
@@ -6,15 +6,18 @@
 from pylons.i18n import _
 
 from mpulsweb.lib.base import BaseController, render
-from mpulsweb.lib.validators import EditSettingsForm 
+from mpulsweb.lib.validators import EditSettingsForm
 from mpulsweb.lib.security import checkRole
 from mpulsweb.model.agencysettings import Agency
 
+
 log = logging.getLogger(__name__)
 
+
 EDIT_AGENCY_SUCCESS_HEADER = _('adm_edit_agency_header')
 EDIT_AGENCY_SUCCESS_TEXT = _('adm_edit_agency_text')
 
+
 class SettingsController(BaseController):
 
     @checkRole('admin_ka')
@@ -47,7 +50,7 @@
 
         c.agency.store(c.form_result)
         c.dialog_title = EDIT_AGENCY_SUCCESS_HEADER
-        c.dialog_text  = EDIT_AGENCY_SUCCESS_TEXT
+        c.dialog_text = EDIT_AGENCY_SUCCESS_TEXT
         c.url_ok = "/settings"
         return render ('/settings/dialogs/success_edit.mako')
 



More information about the Mpuls-commits mailing list