/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

[merge] bzr.dev 2359

Show diffs side-by-side

added added

removed removed

Lines of Context:
647
647
 
648
648
class LockError(BzrError):
649
649
 
650
 
    _fmt = "Lock error: %(message)s"
 
650
    _fmt = "Lock error: %(msg)s"
651
651
 
652
652
    internal_error = True
653
653
 
657
657
    #
658
658
    # New code should prefer to raise specific subclasses
659
659
    def __init__(self, message):
660
 
        self.message = message
 
660
        # Python 2.5 uses a slot for StandardError.message,
 
661
        # so use a different variable name
 
662
        # so it is exposed in self.__dict__
 
663
        self.msg = message
661
664
 
662
665
 
663
666
class LockActive(LockError):