~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2011-09-08 11:01:15 UTC
  • mfrom: (6123.1.16 gpg-typo)
  • Revision ID: pqm@cupuasso-20110908110115-gbb9benwkdksvzk5
(jelmer) Fix a typo (invalid format identifier) in an error message in
 bzrlib.gpg. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
"""
21
21
 
22
22
from cStringIO import StringIO
23
 
import mimetools
24
23
import re
25
24
import urlparse
26
25
import urllib
35
34
    urlutils,
36
35
    )
37
36
from bzrlib.smart import medium
38
 
from bzrlib.symbol_versioning import (
39
 
        deprecated_method,
40
 
        )
41
37
from bzrlib.trace import mutter
42
38
from bzrlib.transport import (
43
39
    ConnectedTransport,
44
 
    _CoalescedOffset,
45
 
    Transport,
46
40
    )
47
41
 
48
42
# TODO: This is not used anymore by HttpTransport_urllib
612
606
            t = self._http_transport_ref()
613
607
            code, body_filelike = t._post(bytes)
614
608
            if code != 200:
615
 
                raise InvalidHttpResponse(
 
609
                raise errors.InvalidHttpResponse(
616
610
                    t._remote_path('.bzr/smart'),
617
611
                    'Expected 200 response code, got %r' % (code,))
618
612
        except (errors.InvalidHttpResponse, errors.ConnectionReset), e: