~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store.py

  • Committer: Martin Pool
  • Date: 2005-06-17 07:28:53 UTC
  • Revision ID: mbp@sourcefrog.net-20050617072853-a815535b877b1ac7
- weed out all remaining calls to bailout() and remove the function

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
 
96
96
        p = self._path(fileid)
97
97
        if os.access(p, os.F_OK) or os.access(p + '.gz', os.F_OK):
98
 
            bailout("store %r already contains id %r" % (self._basedir, fileid))
 
98
            raise BzrError("store %r already contains id %r" % (self._basedir, fileid))
99
99
 
100
100
        if compressed:
101
101
            f = gzip.GzipFile(p + '.gz', 'wb')