~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

[merge] jam-integration 1496

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
... except:
35
35
...   print sys.exc_type
36
36
...   print sys.exc_value
37
 
...   print sys.exc_value.path
 
37
...   path = getattr(sys.exc_value, 'path')
 
38
...   if path is not None:
 
39
...     print path
38
40
bzrlib.errors.NotBranchError
39
41
Not a branch: /foo/bar
40
42
/foo/bar
370
372
    """Parents are mismatched between two revisions."""
371
373
    
372
374
 
 
375
class WeaveInvalidChecksum(WeaveError):
 
376
    """Text did not match it's checksum: %(message)s"""
 
377
 
 
378
 
373
379
class NoSuchExportFormat(BzrNewError):
374
380
    """Export format %(format)r not supported"""
375
381
    def __init__(self, format):