From: Federico Caselli Date: Thu, 31 Mar 2016 11:59:31 +0000 (+0200) Subject: Added missing % to format a string. X-Git-Tag: v4.4.0b1~40^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1677%2Fhead;p=thirdparty%2Ftornado.git Added missing % to format a string. --- diff --git a/tornado/web.py b/tornado/web.py index 12939337e..ec4b16302 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -313,7 +313,7 @@ class RequestHandler(object): try: self._reason = httputil.responses[status_code] except KeyError: - raise ValueError("unknown status code %d", status_code) + raise ValueError("unknown status code %d" % status_code) def get_status(self): """Returns the status code for our response."""