httpconnection: remove obsolete comment about open()
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 14 Mar 2016 14:08:28 -0700
changeset 28526 47b0cee25e88
parent 28525 dfb21c34e07d
child 28527 2707cce2f0e1
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.
mercurial/httpconnection.py
--- 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