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
mentors.debian.net
debexpo
Commits
98d23535
Commit
98d23535
authored
Nov 24, 2012
by
Baptiste Mouterde
Committed by
ikoalaz
Nov 24, 2012
Browse files
comments : fix missing expect statement
parent
c3c30324
Changes
1
Show whitespace changes
Inline
Side-by-side
debexpo/controllers/index.py
View file @
98d23535
...
...
@@ -67,6 +67,8 @@ class IndexController(BaseController):
except
AttributeError
:
# this mean that there is no comments rated
c
.
best_comment
=
None
except
IndexError
:
c
.
best_comment
=
None
try
:
c
.
last_comment
=
CommentsController
.
build_comment_render
(
meta
.
session
.
query
(
PackageComment
).
order_by
(
desc
(
PackageComment
.
time
)).
first
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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