# HG changeset patch # User Martin von Zweigbergk # Date 2016-03-14 21:08:28 # Node ID 47b0cee25e88ff04a1f048b925d5ee0b260cbd37 # Parent dfb21c34e07dfeeccb9be6197ad15733ee53a48e 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. diff --git a/mercurial/httpconnection.py b/mercurial/httpconnection.py --- a/mercurial/httpconnection.py +++ b/mercurial/httpconnection.py @@ -33,9 +33,6 @@ class httpsendfile(object): """ 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