~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2005-09-13 01:37:23 UTC
  • Revision ID: mbp@sourcefrog.net-20050913013723-7e0026b48cbf08ff
- BROKEN: start refactoring fetch code to work well with weaves

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
 
40
40
class InvalidRevisionNumber(BzrError):
 
41
    def __init__(self, revno):
 
42
        self.args = [revno]
 
43
        
41
44
    def __str__(self):
42
45
        return 'invalid revision number: %r' % self.args[0]
43
46