~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2005-10-17 11:41:07 UTC
  • mfrom: (1442.1.60)
  • Revision ID: robertc@robertcollins.net-20051017114107-f5586285d825c105
Merge in first part of GPG support.

This adds check_signatures config support, triams back the transport api
to be leaner and easier to hook in suffixes - non primary streams in the store
associated with the fileid that primary data is stored in, a gpg module which
will encapsulate all signing and checking operations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
class ConflictsInTree(BzrError):
266
266
    def __init__(self):
267
267
        BzrError.__init__(self, "Working tree has conflicts.")
 
268
 
 
269
class SigningFailed(BzrError):
 
270
    def __init__(self, command_line):
 
271
        BzrError.__init__(self, "Failed to gpg sign data with command '%s'"
 
272
                               % command_line)