Changeset - 436bee78d81a
[Not reviewed]
default
0 4 0
Marcin Kuzminski - 16 years ago 2010-02-27 17:28:25

Litle code cleanups, This version handles repos correctly.
4 files changed with 5 insertions and 15 deletions:
0 comments (0 inline, 0 general)
development.ini
Show inline comments
 
@@ -26,7 +26,7 @@ port = 5000
 
[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 @@ cache_dir = %(here)s/data
 
keys = root, routes, pylons_app, sqlalchemy
 

	
 
[handlers]
 
keys = console,chainsaw
 
keys = console
 

	
 
[formatters]
 
keys = generic,xmllayout
 
keys = generic
 

	
 
#############
 
## LOGGERS ##
 
@@ -84,12 +84,6 @@ args = (sys.stderr,)
 
level = NOTSET
 
formatter = generic
 

	
 
[handler_chainsaw]
 
class = xmllayout.RawSocketHandler
 
args = ('localhost', 4448)
 
level = NOTSET
 
formatter = xmllayout
 

	
 
################
 
## FORMATTERS ##
 
################
 
@@ -98,6 +92,3 @@ formatter = xmllayout
 
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
 
datefmt = %H:%M:%S
 

	
 
[formatter_xmllayout]
 
class = xmllayout.XMLLayout
 

	
production.ini
Show inline comments
 
@@ -26,7 +26,7 @@ port = 8001
 
[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
Show inline comments
 
@@ -8,10 +8,10 @@ from pylons import config
 
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
Show inline comments
 
@@ -17,4 +17,3 @@ class BaseController(WSGIController):
 
            return WSGIController.__call__(self, environ, start_response)
 
        finally:
 
            pass
 
            #meta.Session.remove()
0 comments (0 inline, 0 general)