summaryrefslogtreecommitdiff
path: root/examples/todo_wareweb/web
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-05-15 01:09:15 +0000
committerianb <devnull@localhost>2005-05-15 01:09:15 +0000
commit5b78e03a2cc8ec4c68fc8de9a886255d2f3a922e (patch)
tree24885fcb23b8a4a1de0dfd4fd6585655dfdbef98 /examples/todo_wareweb/web
parent95ffc2827724c9b488b3f143afc0e39e49daaa0a (diff)
downloadpaste-5b78e03a2cc8ec4c68fc8de9a886255d2f3a922e.tar.gz
Added test using fixture; fixed SQLObject configuration and loading
Diffstat (limited to 'examples/todo_wareweb/web')
-rw-r--r--examples/todo_wareweb/web/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/todo_wareweb/web/__init__.py b/examples/todo_wareweb/web/__init__.py
index 0fca385..44f70ad 100644
--- a/examples/todo_wareweb/web/__init__.py
+++ b/examples/todo_wareweb/web/__init__.py
@@ -1,5 +1,4 @@
from paste.util import thirdparty
-thirdparty.add_package('sqlobject')
import sqlobject
from todo_wareweb import db
@@ -25,5 +24,5 @@ def urlparser_wrap(environ, start_response, app):
try:
return app(environ, start_response)
finally:
- sqlobject.sqlhub.threadConnection = None
+ del sqlobject.sqlhub.threadConnection