chiark / gitweb /
service.py: Fix the RemoteService `_mkcmd' protocol.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 24 May 2014 13:02:32 +0000 (14:02 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 24 May 2014 21:58:50 +0000 (22:58 +0100)
The CommandRemoteService implementation was completely wrong.
Substitutions need know the user name in question, which isn't available
until the actual operation is invoked; so this needs to be passed
through to `_mkcmd'.

Therefore, we introduce a new argument to `_run', which is simply passed
on to `_mkcmd', and adjust implementations to cope.


No differences found