summaryrefslogtreecommitdiffstats
path: root/files/hotfix/python-openid/fetchers.py
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2014-02-10 21:11:39 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-02-10 21:11:39 +0000
commita8ac414ab5aa06dbbc5cf276e7cec66e0f02da14 (patch)
tree46c4e1b6de854aa8c17a4d68f0421790d2d7c27b /files/hotfix/python-openid/fetchers.py
parentcb5db8c1495e1a17d200b6e1808a4bf3dead27cc (diff)
downloadansible-a8ac414ab5aa06dbbc5cf276e7cec66e0f02da14.tar.gz
ansible-a8ac414ab5aa06dbbc5cf276e7cec66e0f02da14.tar.xz
ansible-a8ac414ab5aa06dbbc5cf276e7cec66e0f02da14.zip
Fix this by using lower() before compare
Diffstat (limited to 'files/hotfix/python-openid/fetchers.py')
-rw-r--r--files/hotfix/python-openid/fetchers.py2
1 files changed, 1 insertions, 1 deletions
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()