aboutsummaryrefslogtreecommitdiff
path: root/fietsboek/pshell.py
diff options
context:
space:
mode:
Diffstat (limited to 'fietsboek/pshell.py')
-rw-r--r--fietsboek/pshell.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/fietsboek/pshell.py b/fietsboek/pshell.py
index cc6988f..0907e80 100644
--- a/fietsboek/pshell.py
+++ b/fietsboek/pshell.py
@@ -8,12 +8,12 @@ def setup(env):
:param env: The environment to set up.
:type env: pyramid.scripting.AppEnvironment
"""
- request = env['request']
+ request = env["request"]
# start a transaction
request.tm.begin()
# inject some vars into the shell builtins
- env['tm'] = request.tm
- env['dbsession'] = request.dbsession
- env['models'] = models
+ env["tm"] = request.tm
+ env["dbsession"] = request.dbsession
+ env["models"] = models