~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-03 22:08:22 UTC
  • mfrom: (3976.2.1 fix-chunked)
  • Revision ID: pqm@pqm.ubuntu.com-20090203220822-5duwp3g1fj9kc9qd
(robertc) Use a list not a tuple for chunks returned from
        FullTextContentFactory objects,
        because otherwise code tries to assign to tuples. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
        if storage_kind == self.storage_kind:
149
149
            return self._text
150
150
        elif storage_kind == 'chunked':
151
 
            return (self._text,)
 
151
            return [self._text]
152
152
        raise errors.UnavailableRepresentation(self.key, storage_kind,
153
153
            self.storage_kind)
154
154