Submitter | phabricator |
---|---|
Date | June 13, 2018, 12:37 p.m. |
Message ID | <fccf893dcca6e8f00658cfa517f209f5@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/32112/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/server.py b/mercurial/hgweb/server.py --- a/mercurial/hgweb/server.py +++ b/mercurial/hgweb/server.py @@ -215,6 +215,7 @@ self.sent_headers = True def _start_response(self, http_status, headers, exc_info=None): + assert isinstance(http_status, str) code, msg = http_status.split(None, 1) code = int(code) self.saved_status = http_status