Commits

Anonymous committed 436bee7

Litle code cleanups, This version handles repos correctly.

Comments (0)

Files changed (4)

 [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
-
 [app:main]
 use = egg:pylons_app
 full_stack = true
-static_files = true
+static_files = false
 lang=en
 cache_dir = %(here)s/data
 

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
 

pylons_app/lib/base.py

             return WSGIController.__call__(self, environ, start_response)
         finally:
             pass
-            #meta.Session.remove()
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.