/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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-10-05 00:14:36 UTC
  • mfrom: (2055.2.2 lockdir-no-email)
  • Revision ID: pqm@pqm.ubuntu.com-20061005001436-917ac78b08565d62
(John Meinel) don't require a valid email for LockDir

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'"