~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-10-31 14:11:02 UTC
  • mfrom: (2954.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20071031141102-b5664t8izotfnc6h
Fix typo (is_permament => is_permanent) reported on IRC

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