From 1f3f7e4a353453f2990fe6622b73f449510d7aff Mon Sep 17 00:00:00 2001 From: Brian Browning Date: Thu, 19 Feb 2015 16:17:46 -0800 Subject: [PATCH] Fix simple typo in httpclient exception message Unelss should be unless --- tornado/simple_httpclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.2