~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2007-10-31 12:38:11 UTC
  • mto: (2954.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2955.
  • Revision ID: v.ladeuil+lp@free.fr-20071031123811-ya0py5cpwhh6rabl
Fix typo (is_permament => is_permanent) reported on IRC

* bzrlib/errors.py:
(RedirectRequested.__init__): Fix typo and delete useless
attribute.

* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib._perform): Fix typo.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport._curl_perform): Fix typo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
                and code in (301, 302, 303, 307):
107
107
            raise errors.RedirectRequested(request.get_full_url(),
108
108
                                           request.redirected_to,
109
 
                                           is_permament=(code == 301),
 
109
                                           is_permanent=(code == 301),
110
110
                                           qual_proto=self._scheme)
111
111
 
112
112
        if request.redirected_to is not None: