Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
basket
Commits
379ee1b67d49
Commit
9ed5d6c4
authored
Oct 15, 2010
by
Sylvain Thénault
Browse files
drop 3.8 deprecation warning
parent
8b8e1f2ef7a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
views.py
View file @
379ee1b6
...
...
@@ -33,7 +33,7 @@ class BasketPrimaryView(primary.PrimaryView):
def
display_content
(
self
,
entity
):
rset
=
self
.
_cw
.
execute
(
'Any I WHERE I in_basket B, B eid %(x)s'
,
{
'x'
:
entity
.
eid
}
,
'x'
)
{
'x'
:
entity
.
eid
})
self
.
w
(
'<h5>%s</h5>'
%
self
.
_cw
.
_
(
self
.
content_msg
))
if
rset
:
self
.
wview
(
'list'
,
rset
)
...
...
Write
Preview
Supports
Markdown
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