]> arthur.barton.de Git - bup.git/commit - t/test.sh
Move parse_excludes to helpers and rework it a bit.
authorRob Browning <rlb@defaultvalue.org>
Fri, 8 Mar 2013 00:07:30 +0000 (18:07 -0600)
committerRob Browning <rlb@defaultvalue.org>
Fri, 8 Mar 2013 00:19:26 +0000 (18:19 -0600)
commit3175d4f924749ef7878c5a974febe07bdb20b6c9
treeb0bdd4f7651ec29c9feac4e6c0e8f4da81eb6cc1
parent7e9005e3166906090decc973d4950bf790128f4b
Move parse_excludes to helpers and rework it a bit.

Don't use f before it's initialized.

Narrow the catch to open(), and only catch IOException.

Call Options.fatal() when there's an error (as does
helpers.parse_date_or_fatal()).

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
cmd/drecurse-cmd.py
cmd/index-cmd.py
lib/bup/drecurse.py
lib/bup/helpers.py
t/test.sh