~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/chroot.py

  • Committer: v.ladeuil+lp at free
  • Date: 2006-12-21 13:37:29 UTC
  • mto: (2208.1.2 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2211.
  • Revision ID: v.ladeuil+lp@free.fr-20061221133729-65lrhoo213mto1qu
Trivial small fixes.

* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib.__init__): super __init__ *use* the
from_transport parameter.

* bzrlib/transport/chroot.py:
(ChrootTransportDecorator.get): Delete the duplicated definition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        self._ensure_relpath_is_child(relpath)
78
78
        return TransportDecorator.get_bytes(self, relpath)
79
79
 
80
 
    def get(self, relpath):
81
 
        self._ensure_relpath_is_child(relpath)
82
 
        return TransportDecorator.get(self, relpath)
83
 
 
84
80
    def has(self, relpath):
85
81
        self._ensure_relpath_is_child(relpath)
86
82
        return TransportDecorator.has(self, relpath)