From a8ac414ab5aa06dbbc5cf276e7cec66e0f02da14 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Mon, 10 Feb 2014 21:11:39 +0000 Subject: Fix this by using lower() before compare --- files/hotfix/python-openid/fetchers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/hotfix/python-openid/fetchers.py') diff --git a/files/hotfix/python-openid/fetchers.py b/files/hotfix/python-openid/fetchers.py index 928dadbaa..bdacfb941 100644 --- a/files/hotfix/python-openid/fetchers.py +++ b/files/hotfix/python-openid/fetchers.py @@ -253,7 +253,7 @@ class CurlHTTPFetcher(HTTPFetcher): # Remove the status line from the beginning of the input unused_http_status_line = header_file.readline().lower () - while unused_http_status_line.startswith('http/1.1 1'): + while unused_http_status_line.lower().startswith('http/1.1 1'): unused_http_status_line = header_file.readline() unused_http_status_line = header_file.readline() -- cgit