~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Parth Malwankar
  • Date: 2010-07-09 16:16:11 UTC
  • mto: This revision was merged to the branch mainline in revision 5340.
  • Revision ID: parth.malwankar@gmail.com-20100709161611-d9w6eiwze2ilk8dk
fixes errors.InvalidPattern to work on Python2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
3157
3157
 
3158
3158
class InvalidPattern(BzrError):
3159
3159
 
3160
 
    _fmt = ('Invalid pattern(s) found. %(message)s')
 
3160
    _fmt = ('Invalid pattern(s) found. %(msg)s')
3161
3161
 
3162
 
    def __init__(self, message):
3163
 
        self.message = message
 
3162
    def __init__(self, msg):
 
3163
        self.msg = msg
3164
3164