~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/memory.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-05 19:34:34 UTC
  • mto: (1946.2.8 reduce-knit-churn)
  • mto: This revision was merged to the branch mainline in revision 1988.
  • Revision ID: john@arbash-meinel.com-20060905193434-2ae27ba5c50bae61
Lots of deprecation warnings, but no errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
            raise NoSuchFile(relpath)
134
134
        return StringIO(self._files[_abspath][0])
135
135
 
136
 
    def put(self, relpath, f, mode=None):
137
 
        """See Transport.put()."""
 
136
    def put_file(self, relpath, f, mode=None):
 
137
        """See Transport.put_file()."""
138
138
        _abspath = self._abspath(relpath)
139
139
        self._check_parent(_abspath)
140
140
        self._files[_abspath] = (f.read(), mode)