]> arthur.barton.de Git - bup.git/commit
client.py: avoid an exception when no new remote packs were generated.
authorAvery Pennarun <apenwarr@gmail.com>
Thu, 3 Feb 2011 10:16:54 +0000 (02:16 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Thu, 3 Feb 2011 10:17:19 +0000 (02:17 -0800)
commitd3347a619c8fe95242c6b5ba6e0606228c3ad5aa
tree723a1d710ead4406c980b065661c8c3e3d08605c
parent33a2251028a0b19336825798fbcfe0a0b3c78d68
client.py: avoid an exception when no new remote packs were generated.

This is probably pretty rare, but it can happen if you needed to download a
remote index, and that index had *all* your objects, so we did end up
writing some objects to the remote server, but it didn't end up generating
any packs.  If that happened, we would try to return the contents of a
nonexistent variable.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
lib/bup/client.py