service.py: Fix CommandRemoteService handling of vectors.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 22 Dec 2014 20:32:58 +0000 (20:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 4 Apr 2015 15:29:16 +0000 (16:29 +0100)
commit3351cbe5eef797b5071c8bcdbb4bdd9a31cec5ae
tree5618be7a2fbb989421958f063ed125adc13aead8
parent1e83d6d9ae0d486fc1205e70123a356220db3bff
service.py: Fix CommandRemoteService handling of vectors.

The CommandRemoteService class previously couldn't handle vector
arguments at all, and in particular it dropped the FIELDS argument to
`mkpwent' on the floor.  It also dropped the PASSWORD argument, which
was just stupid.

Convert `_mkcmd' to handle all arguments as vectors, and fix the callers
to wrap their scalar arguments in little vectors.  Now we take the cross
product of all of the arguments when substituting templates.
service.py