]> arthur.barton.de Git - bup.git/commit - cmd/midx-cmd.py
Fix use of Python assert() with respect to optimization.
authorRob Browning <rlb@defaultvalue.org>
Sun, 3 Mar 2013 22:51:14 +0000 (16:51 -0600)
committerRob Browning <rlb@defaultvalue.org>
Fri, 8 Mar 2013 00:36:47 +0000 (18:36 -0600)
commitc532cf07abbff52a0506bf2baf58a35f32f0981d
tree285686747a23eac441652e846114e46d04d01676
parent3175d4f924749ef7878c5a974febe07bdb20b6c9
Fix use of Python assert() with respect to optimization.

Fix a number of places where bup's assertions had material
side-effects, or where other code expected to see the AssertionError,
neither of which happen when optimization is enabled.

Reported-by: Jon Dowland <jmtd@debian.org>
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
cmd/midx-cmd.py
lib/bup/client.py
lib/bup/git.py
lib/bup/helpers.py
lib/bup/t/tclient.py