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
c91aef7c
Commit
c91aef7c
authored
Feb 14, 2012
by
Nicolas Dandrimont
🤔
Browse files
Coerce the default data to strings to avoid exceptions
parent
68e505dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
debexpo/templates/plugins/default/html.mako
View file @
c91aef7c
<div class="qa-header">
<div class="qa-header">
${o.from_plugin}: ${o.outcome}
${o.from_plugin}: ${
str(
o.outcome
)
}
</div>
</div>
%if o.rich_data:
<div class="qa-content">
<div class="qa-content">
${h.converters.nl2br(o.rich_data)}
${h.converters.nl2br(
str(
o.rich_data)
)
}
</div>
</div>
%endif
debexpo/templates/plugins/default/text.mako
View file @
c91aef7c
${o.rich_data}
${
str(
o.rich_data
)
}
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