~bzr-pqm/bzr/bzr.dev

  • Committer: v.ladeuil+lp at free
  • Date: 2007-01-08 14:12:42 UTC
  • mto: (2323.7.1 redirection)
  • Revision ID: v.ladeuil+lp@free.fr-20070108141242-nhuevwtx8216ymgz
Simpler implementation using inspect. 'hints' is a kwargs.

* bzrlib/transport/smart.py:
(SmartTransport.get): Make hints a kwargs.

* bzrlib/transport/sftp.py:
(SFTPTransport.get): Make hints a kwargs.

* bzrlib/transport/memory.py:
(MemoryTransport.get): Make hints a kwargs.

* bzrlib/transport/local.py:
(LocalTransport.get): Make hints a kwargs (but still commented out).

* bzrlib/transport/ftp.py:
(FtpTransport.get): Make hints a kwargs (but still commented out).

* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib._get): Make hints a kwargs.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport._get): Make hints a kwargs. Still nothing done
with it.
(PyCurlTransport._get_full): Delete hints parameter until we need
it.

* bzrlib/transport/http/__init__.py:
(HttpTransportBase.get, HttpTransportBase._get): Make hints a
kwargs.

* bzrlib/transport/fakevfat.py:
(FakeVFATTransportDecorator.get): Make hints a kwargs.

* bzrlib/transport/decorator.py:
(TransportDecorator.get): Make hints a kwargs.

* bzrlib/transport/chroot.py:
(ChrootTransportDecorator.get): Make hints a kwargs.

* bzrlib/transport/__init__.py:
Python provides inspect: use it.
(_get_prototype_infos, _build_arglist): Deleted.
(_inject_get_with_hints, _check_get_with_hints): Simplified.
(_inject_get_with_hints): Make _get_without_hints a private
method.
(Transport.get, TransportLogger.get): Make hints a kwargs.

* bzrlib/bzrdir.py:
(BzrDirFormat.probe_transport): get's hint is a kwargs.

Filename Latest Rev Last Changed Committer Comment Size
..
org 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
__init__.py 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 55 bytes Diff Download File