changeset 28526:47b0cee25e88

httpconnection: remove obsolete comment about open() When httpsendfile was moved from url.py into httpconnection.py in e7525a555a64 (url: use new http support if requested by the user, 2011-05-06), the comment about not being able to just call open() became obsolete.
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 14 Mar 2016 14:08:28 -0700
parents dfb21c34e07d
children 2707cce2f0e1
files mercurial/httpconnection.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/httpconnection.py	Sun Mar 13 14:03:58 2016 -0700
+++ b/mercurial/httpconnection.py	Mon Mar 14 14:08:28 2016 -0700
@@ -33,9 +33,6 @@
     """
 
     def __init__(self, ui, *args, **kwargs):
-        # We can't just "self._data = open(*args, **kwargs)" here because there
-        # is an "open" function defined in this module that shadows the global
-        # one
         self.ui = ui
         self._data = open(*args, **kwargs)
         self.seek = self._data.seek