/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: Jonathan Riddell
  • Date: 2011-06-17 14:28:01 UTC
  • mto: (5971.2.3 bzr-gpgme)
  • mto: This revision was merged to the branch mainline in revision 6003.
  • Revision ID: jriddell@canonical.com-20110617142801-rz6ulnm8642sis42
make GpgmeNotInstalled inherit from DependencyNotPresent

Show diffs side-by-side

added added

removed removed

Lines of Context:
1805
1805
        BzrError.__init__(self, error=error)
1806
1806
 
1807
1807
 
1808
 
class GpgmeNotInstalled(BzrError):
 
1808
class GpgmeNotInstalled(DependencyNotPresent):
1809
1809
 
1810
1810
    _fmt = 'python-gpgme is not installed, it is needed to verify signatures'
1811
1811
 
 
1812
    def __init__(self, error):
 
1813
        DependencyNotPresent.__init__(self, 'gpgme', error)
 
1814
 
1812
1815
 
1813
1816
class WorkingTreeNotRevision(BzrError):
1814
1817