~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weave.py

  • Committer: Vincent Ladeuil
  • Date: 2010-05-14 14:32:34 UTC
  • mto: (5234.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5235.
  • Revision ID: v.ladeuil+lp@free.fr-20100514143234-s5wscclzolbvyc44
Oops, get rid of earlier attempt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
        """Is the versioned file marked as 'finished' ? Raise if it is."""
249
249
        if self._get_scope() != self._scope:
250
250
            raise errors.OutSideTransaction()
251
 
        if not self._access_mode in ('w', 'r+'):
 
251
        if self._access_mode != 'w':
252
252
            raise errors.ReadOnlyObjectDirtiedError(self)
253
253
 
254
254
    def copy(self):