Gitlab CSE Unil
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
M. Chardon
ADIM
Commits
73c9676e
Commit
73c9676e
authored
Jun 08, 2015
by
Julien Furrer
Browse files
fixed typo
parent
78868e9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
adim_project/adim_ttp/utils.py
View file @
73c9676e
...
...
@@ -62,7 +62,7 @@ def get_attp_message(attp_msg64, attp_hash):
attp_msg_cache_key
=
"attp_{}{}"
.
format
(
attp_id
,
attp_hash
)
if
cache
.
get
(
attp_msg_cache_key
)
is
not
None
:
# Message hash already used
raise
Exception
(
"ATTP message re
s
use error"
)
raise
Exception
(
"ATTP message reuse error"
)
cache
.
set
(
attp_msg_cache_key
,
1
,
ATTP_MSG_TIMEOUT
+
1
)
# Check hash validity
...
...
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