Show More
@@ -34,7 +34,7 b' def str2bool(v):' | |||||
34 | return False |
|
34 | return False | |
35 | else: |
|
35 | else: | |
36 | raise ValueError("String is not true/false: %r" % obj) |
|
36 | raise ValueError("String is not true/false: %r" % obj) | |
37 |
return bool( |
|
37 | return bool(v) | |
38 |
|
38 | |||
39 | def generate_api_key(username, salt=None): |
|
39 | def generate_api_key(username, salt=None): | |
40 | from tempfile import _RandomNameSequence |
|
40 | from tempfile import _RandomNameSequence |
General Comments 0
You need to be logged in to leave comments.
Login now