From: Brian Browning Date: Fri, 20 Feb 2015 00:17:46 +0000 (-0800) Subject: Fix simple typo in httpclient exception message X-Git-Tag: v4.2.0b1~99^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1343%2Fhead;p=thirdparty%2Ftornado.git Fix simple typo in httpclient exception message Unelss should be unless --- diff --git a/tornado/simple_httpclient.py b/tornado/simple_httpclient.py index ffa03ea68..f3cb1b866 100644 --- a/tornado/simple_httpclient.py +++ b/tornado/simple_httpclient.py @@ -331,7 +331,7 @@ class _HTTPConnection(httputil.HTTPMessageDelegate): if ((body_expected and not body_present) or (body_present and not body_expected)): raise ValueError( - 'Body must %sbe None for method %s (unelss ' + 'Body must %sbe None for method %s (unless ' 'allow_nonstandard_methods is true)' % ('not ' if body_expected else '', self.request.method)) if self.request.expect_100_continue: