changeset 17:436bee78d81a

Litle code cleanups, This version handles repos correctly.
author Marcin Kuzminski
date Sat, 27 Feb 2010 17:28:25 +0100
parents e121401a17d8
children 1d3eba8c1012
files development.ini production.ini pylons_app/config/middleware.py pylons_app/lib/base.py
diffstat 4 files changed, 5 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/development.ini	Sun Feb 21 14:25:52 2010 +0100
+++ b/development.ini	Sat Feb 27 17:28:25 2010 +0100
@@ -26,7 +26,7 @@
 [app:main]
 use = egg:pylons_app
 full_stack = true
-static_files = true
+static_files = false
 lang=en
 cache_dir = %(here)s/data
 
@@ -45,10 +45,10 @@
 keys = root, routes, pylons_app, sqlalchemy
 
 [handlers]
-keys = console,chainsaw
+keys = console
 
 [formatters]
-keys = generic,xmllayout
+keys = generic
 
 #############
 ## LOGGERS ##
@@ -84,12 +84,6 @@
 level = NOTSET
 formatter = generic
 
-[handler_chainsaw]
-class = xmllayout.RawSocketHandler
-args = ('localhost', 4448)
-level = NOTSET
-formatter = xmllayout
-
 ################
 ## FORMATTERS ##
 ################
@@ -98,6 +92,3 @@
 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
 datefmt = %H:%M:%S
 
-[formatter_xmllayout]
-class = xmllayout.XMLLayout
-
--- a/production.ini	Sun Feb 21 14:25:52 2010 +0100
+++ b/production.ini	Sat Feb 27 17:28:25 2010 +0100
@@ -26,7 +26,7 @@
 [app:main]
 use = egg:pylons_app
 full_stack = true
-static_files = true
+static_files = false
 lang=en
 cache_dir = %(here)s/data
 
--- a/pylons_app/config/middleware.py	Sun Feb 21 14:25:52 2010 +0100
+++ b/pylons_app/config/middleware.py	Sat Feb 27 17:28:25 2010 +0100
@@ -8,10 +8,10 @@
 from pylons.middleware import ErrorHandler, StatusCodeRedirect
 from pylons.wsgiapp import PylonsApp
 from routes.middleware import RoutesMiddleware
+
 from pylons_app.config.environment import load_environment
 
 
-
 def make_app(global_conf, full_stack = True, **app_conf):
     """Create a Pylons WSGI application and return it
 
--- a/pylons_app/lib/base.py	Sun Feb 21 14:25:52 2010 +0100
+++ b/pylons_app/lib/base.py	Sat Feb 27 17:28:25 2010 +0100
@@ -17,4 +17,3 @@
             return WSGIController.__call__(self, environ, start_response)
         finally:
             pass
-            #meta.Session.remove()