]> git.michaelhowe.org Git - packages/b/bup.git/commit
bup-restore.md: always initialize root_meta in do_root.
authoritxx00 <itxx00@gmail.com>
Wed, 8 Jan 2014 05:14:26 +0000 (13:14 +0800)
committerRob Browning <rlb@defaultvalue.org>
Tue, 14 Jan 2014 17:14:17 +0000 (11:14 -0600)
commit6945ee1f15a897b2a762367e8f568af0451761af
tree520790dfbd8bda7aa086bed32ceac020f83ebb64
parent854cc30a8cb260f2e67f8784eda4a68ce2fccee5
bup-restore.md: always initialize root_meta in do_root.

Previously, using bup split with bup restore would cause an error:

  UnboundLocalError: local variable 'root_meta' referenced before assignment

Signed-off-by: itxx00 <itxx00@gmail.com>
[rlb@defaultvalue.org: adjust commit message.  Initialize root_meta
 unconditionally before guard to match other code.]
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
cmd/restore-cmd.py