##// END OF EJS Templates
fixed str2bool typo
marcink -
r1152:008bdfdd rhodecode-0.0.1.1.5 default
parent child Browse files
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(obj)
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