~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.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:
1482
1482
 
1483
1483
    _fmt = '%(source)s is%(permanently)s redirected to %(target)s'
1484
1484
 
1485
 
    def __init__(self, source, target, is_permament=False, qual_proto=None):
 
1485
    def __init__(self, source, target, is_permanent=False, qual_proto=None):
1486
1486
        self.source = source
1487
1487
        self.target = target
1488
 
        if is_permament:
 
1488
        if is_permanent:
1489
1489
            self.permanently = ' permanently'
1490
1490
        else:
1491
1491
            self.permanently = ''
1492
 
        self.is_permament = is_permament
1493
1492
        self._qualified_proto = qual_proto
1494
1493
        TransportError.__init__(self)
1495
1494