Commits

Anonymous committed 436bee7

Litle code cleanups, This version handles repos correctly.

  • Participants
  • Parent commits e121401

Comments (0)

Files changed (4)

File development.ini

 [app:main]
 use = egg:pylons_app
 full_stack = true
-static_files = true
+static_files = false
 lang=en
 cache_dir = %(here)s/data
 
 keys = root, routes, pylons_app, sqlalchemy
 
 [handlers]
-keys = console,chainsaw
+keys = console
 
 [formatters]
-keys = generic,xmllayout
+keys = generic
 
 #############
 ## LOGGERS ##
 level = NOTSET
 formatter = generic
 
-[handler_chainsaw]
-class = xmllayout.RawSocketHandler
-args = ('localhost', 4448)
-level = NOTSET
-formatter = xmllayout
-
 ################
 ## FORMATTERS ##
 ################
 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
 datefmt = %H:%M:%S
 
-[formatter_xmllayout]
-class = xmllayout.XMLLayout
-

File production.ini

 [app:main]
 use = egg:pylons_app
 full_stack = true
-static_files = true
+static_files = false
 lang=en
 cache_dir = %(here)s/data
 

File pylons_app/config/middleware.py

 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
 

File pylons_app/lib/base.py

             return WSGIController.__call__(self, environ, start_response)
         finally:
             pass
-            #meta.Session.remove()