Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Belgian Biodiversity Platform
cputils
Commits
35be0f34
Commit
35be0f34
authored
Sep 22, 2016
by
Julien Cigar
🤘
Browse files
missing .pop()
parent
18d0c152
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/sa_tool.py
View file @
35be0f34
...
...
@@ -17,7 +17,7 @@ class SATool(cherrypy.Tool):
self
.
remove_session
,
priority
=
80
)
def
bind_session
(
self
):
cherrypy
.
request
.
db
=
cherrypy
.
engine
.
publish
(
'get-session'
)
cherrypy
.
request
.
db
=
cherrypy
.
engine
.
publish
(
'get-session'
)
.
pop
()
def
remove_session
(
self
):
cherrypy
.
request
.
db
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment