]> arthur.barton.de Git - bup.git/commit
client: ensure server provides requested command
authorRob Browning <rlb@defaultvalue.org>
Sun, 24 Sep 2017 17:08:44 +0000 (12:08 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 24 Sep 2017 17:13:59 +0000 (12:13 -0500)
commit84ed476a157df656a366061969330c9def88ade9
treed5d93e5c6f6b057f78c6ec66539776ddff070b50
parent20494763c5ab8e33ee705d839e3d0ab2f8e37cbf
client: ensure server provides requested command

Gather the list of available commands from the server during client
initialization and use that to throw a suitable ClientError whenever
the server doesn't support a requested command.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/client.py