~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: John Arbash Meinel
  • Date: 2006-10-16 01:25:46 UTC
  • mfrom: (2071 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2080.
  • Revision ID: john@arbash-meinel.com-20061016012546-d01a0740671b4d73
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
890
890
        BzrError.__init__(self, message)
891
891
 
892
892
 
 
893
class NoEmailInUsername(BzrNewError):
 
894
    """%(username)r does not seem to contain a reasonable email address"""
 
895
 
 
896
    def __init__(self, username):
 
897
        BzrNewError.__init__(self)
 
898
        self.username = username
 
899
 
 
900
 
893
901
class SigningFailed(BzrError):
894
902
    def __init__(self, command_line):
895
903
        BzrError.__init__(self, "Failed to gpg sign data with command '%s'"