keepalive: fix reference to IncompleteRead
authorPeter Arrenbrecht <peter.arrenbrecht@gmail.com>
Mon, 23 Mar 2009 11:12:01 +0100
changeset 7868 2b901f9b37aa
parent 7867 01bd0efef1b5
child 7869 bc027d72c289
keepalive: fix reference to IncompleteRead
mercurial/keepalive.py
--- a/mercurial/keepalive.py	Mon Mar 23 10:48:45 2009 +0100
+++ b/mercurial/keepalive.py	Mon Mar 23 11:12:01 2009 +0100
@@ -408,7 +408,7 @@
                     # close the connection as protocol synchronisation is
                     # probably lost
                     self.close()
-                    raise IncompleteRead(value)
+                    raise httplib.IncompleteRead(value)
                 if chunk_left == 0:
                     break
             if amt is None: