Permalink
Browse files

Merge pull request #166 from schlamar/fix-coverage

Fix coverage for Windows.
  • Loading branch information...
2 parents fce075a + e6a71d9 commit 2aa3e4a891af8573caf9791437e1a39f2bd482d0 @shazow committed Mar 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 urllib3/util.py
View
@@ -232,7 +232,7 @@ def make_headers(keep_alive=None, accept_encoding=None, user_agent=None,
return headers
-def is_connection_dropped(conn):
+def is_connection_dropped(conn): # Platform-specific
"""
Returns True if the connection is dropped and should be closed.
@@ -246,7 +246,7 @@ def is_connection_dropped(conn):
if not sock: # Platform-specific: AppEngine
return False
- if not poll: # Platform-specific
+ if not poll:
if not select: # Platform-specific: AppEngine
return False

0 comments on commit 2aa3e4a

Please sign in to comment.