Convert file transfer to the new callbacks.
commit70bc11de2e4ac25b5f212fa6ba30661ed4f00bf4
authorGuillaume Chazarain <guichaz@gmail.com>
Sun, 11 May 2008 22:25:40 +0000 (12 00:25 +0200)
committerGuillaume Chazarain <guichaz@gmail.com>
Sun, 11 May 2008 22:25:40 +0000 (12 00:25 +0200)
tree7c58df64ecf2207ff42e904c848c89eb8e97e4a3
parent979da7403a2dd1dd94f146a4e56ec50e19bd2eac
Convert file transfer to the new callbacks.
lambda host_port, i=i: is tricky.
http://www.gossamer-threads.com/lists/python/python/644750#644750
=>...Python creates a closure for you that will retain the last
value bound. To prevent that, you need to create a named parameter...

It prevents all lambdas to have the same i value.
gsh/file_transfer.py
gsh/pity.py
gsh/remote_dispatcher.py