~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/__init__.py

  • Committer: Vincent Ladeuil
  • Date: 2008-09-26 14:28:56 UTC
  • mto: (3734.5.1 deprecations)
  • mto: This revision was merged to the branch mainline in revision 3751.
  • Revision ID: v.ladeuil+lp@free.fr-20080926142856-svgss7gij4g077zw
Fix another SmartHTTPMedium refactoring bit.

* bzrlib/transport/http/__init__.py:
(HttpTransportBase.__init__): Initialize _medium attribute.

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
        self._impl_name = impl_name
105
105
        super(HttpTransportBase, self).__init__(base,
106
106
                                                _from_transport=_from_transport)
 
107
        self._medium = None
107
108
        # range hint is handled dynamically throughout the life
108
109
        # of the transport object. We start by trying multi-range
109
110
        # requests and if the server returns bogus results, we