~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: 2010-07-09 18:02:18 UTC
  • mfrom: (5339.1.1 invalidpattern-python25)
  • Revision ID: pqm@pqm.ubuntu.com-20100709180218-431qg3bpsu3yy53o
(jameinel) Rename errors.InvalidPattern argument message=>msg to work with
 multiple Python versions. (Parth Malwankar)

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