~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
..
old 1185.82.3 18 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
serializer 1185.82.3 18 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
__init__.py 2167.2.1 17 years ago Aaron Bentley Fix reading bundles from http URLs 2.2 KB Diff Download File
apply_bundle.py 2052.3.1 18 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 2.6 KB Diff Download File
bundle_data.py 2052.3.6 17 years ago John Arbash Meinel [merge] bzr.dev 2078 27.3 KB Diff Download File
commands.py 2178.4.4 17 years ago Alexander Belchenko encoding_type = 'exact' force sys.stdout to be bin 6.8 KB Diff Download File
common.py 2052.3.1 18 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 1 KB Diff Download File