From 79ba3c681bc221e1aedd71bd6a26d9690658fa38 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Tue, 11 Oct 2011 00:44:11 -0500 Subject: [PATCH] add repoze.tm --- start3.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/start3.py b/start3.py index 4f377d0..a9c15e2 100644 --- a/start3.py +++ b/start3.py @@ -62,8 +62,9 @@ def getPrincipal(uri): $resource_url/show_info on either folder or content. """ #import ptah, will fix + import repoze.tm app = ptah.make_wsgi_app({'settings':r'./ptah.ini'}) from ptah import authentication authentication.checkers = [] - serve(app, host='0.0.0.0') + serve(repoze.tm.TM(app), host='0.0.0.0')