]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/commitdiff
Fixed indentation
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 16 Mar 2009 20:15:03 +0000 (20:15 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 16 Mar 2009 20:15:03 +0000 (20:15 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wradmin@425 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wradmin/wradmin/controllers/wrcontroller.py

index c6f7cc29cf558bb06a108b80f4c9207fdcd4317c..a145b1527d1aea8c58993925f16911b6b0d227dd 100644 (file)
@@ -12,19 +12,19 @@ log = logging.getLogger(__name__)
 
 class WrcontrollerController(BaseController):
 
-       def index(self):
-               return render('index.html')
+    def index(self):
+        return render('index.html')
 
-       def rodelbahnbox(self, update=False):
-               "update ... update the database from the Rodelbahnbox structures"
-               if update:
-                       try: c.sledding_routes = update_rodelbahnbox()
-                       except Exception, e:
-                               c.update_error = unicode_e(e)
-               c.update_performed = update
-               c.update_success = hasattr(c, 'sledding_routes')
-               return render('rodelbahnbox.html')
+    def rodelbahnbox(self, update=False):
+        "update ... update the database from the Rodelbahnbox structures"
+        if update:
+            try: c.sledding_routes = update_rodelbahnbox()
+            except Exception, e:
+                c.update_error = unicode_e(e)
+        c.update_performed = update
+        c.update_success = hasattr(c, 'sledding_routes')
+        return render('rodelbahnbox.html')
 
-       def forumlink(self, **kw):
-               c.sledding_routes = query_sledding_routes()
-               return render('forumlink.html')
+    def forumlink(self, **kw):
+        c.sledding_routes = query_sledding_routes()
+        return render('forumlink.html')