##// END OF EJS Templates
Backport PR #6114: update hmac signature comparison...
Backport PR #6114: update hmac signature comparison see https://docs.python.org/2/library/hmac.html#hmac.compare_digest pinging @rgbkrk - [x] leave a comment in the source code about why we do this

File last commit:

r16119:8e762699
r17363:c8982303
Show More
python.tpl
21 lines | 501 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'null.tpl' -%}
{% block header %}
# coding: utf-8
{% endblock header %}
{% block in_prompt %}
# In[{{ cell.prompt_number if cell.prompt_number else ' ' }}]:
{% endblock in_prompt %}
{% block input %}
{{ cell.input | ipython2python }}
{% endblock input %}
{% block markdowncell scoped %}
{{ cell.source | comment_lines }}
{% endblock markdowncell %}
{% block headingcell scoped %}
{{ '#' * cell.level }}{{ cell.source | replace('\n', ' ') | comment_lines }}
{% endblock headingcell %}