~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2010-07-15 09:47:16 UTC
  • mfrom: (5345 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5346.
  • Revision ID: mbp@canonical.com-20100715094716-sljdg6go0d12xi79
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
3155
3155
        "Please, set your name with the 'whoami' command.\n"
3156
3156
        'E.g. bzr whoami "Your Name <name@example.com>"')
3157
3157
 
 
3158
class InvalidPattern(BzrError):
 
3159
 
 
3160
    _fmt = ('Invalid pattern(s) found. %(msg)s')
 
3161
 
 
3162
    def __init__(self, msg):
 
3163
        self.msg = msg
3158
3164