~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: 2011-08-08 17:39:45 UTC
  • mfrom: (6056.1.2 822649-bsd-no-fdatasync)
  • Revision ID: pqm@pqm.ubuntu.com-20110808173945-vx1z3qi3c3qj50zv
(vila) os.fdatasync is not defined on BSD-based OSes (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1802
1802
        self.errors = '\n'.join(e.msg for e in errors)
1803
1803
 
1804
1804
 
1805
 
class ConfigOptionValueError(BzrError):
1806
 
 
1807
 
    _fmt = """Bad value "%(value)s" for option "%(name)s"."""
1808
 
 
1809
 
    def __init__(self, name, value):
1810
 
        BzrError.__init__(self, name=name, value=value)
1811
 
 
1812
 
 
1813
1805
class NoEmailInUsername(BzrError):
1814
1806
 
1815
1807
    _fmt = "%(username)r does not seem to contain a reasonable email address"