diff options
author | Marcel Hellkamp <marc@gsites.de> | 2012-05-14 12:20:50 -0700 |
---|---|---|
committer | Marcel Hellkamp <marc@gsites.de> | 2012-05-14 12:20:50 -0700 |
commit | 5108c6bf2d0828d80953483450160dee8e88919a (patch) | |
tree | 5cf65d970b31f384c0dde76f05d1fdbfd72e6aa3 | |
parent | 85aa8c26235bc3415ed9d78571639d700703631d (diff) | |
parent | f310de85eb7045dda07e7c726bf2d0cde81927a0 (diff) | |
download | bottle-5108c6bf2d0828d80953483450160dee8e88919a.tar.gz |
Merge pull request #324 from meawoppl/master
Typo Fix
-rw-r--r-- | bottle.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2141,7 +2141,7 @@ def parse_range_header(header, maxlen=0): pass def _lscmp(a, b): - ''' Compares two strings in a cryptographically save way: + ''' Compares two strings in a cryptographically safe way: Runtime is not affected by length of common prefix. ''' return not sum(0 if x==y else 1 for x, y in zip(a, b)) and len(a) == len(b) |