]> arthur.barton.de Git - bup.git/commit
split: add missing import "parse_date_or_fatal"
authorFabian xx4h Melters <xx4h@xx4h.de>
Tue, 1 Aug 2017 14:45:11 +0000 (16:45 +0200)
committerRob Browning <rlb@defaultvalue.org>
Thu, 28 Dec 2017 21:08:02 +0000 (15:08 -0600)
commit6c0bb7a2c4831f99091289fec1cdb2721bc87391
tree860c3af6fec400f31ae3779958f493f1d11c4b6c
parentf76c37383ddb82343e85632e9154547412e7b1ad
split: add missing import "parse_date_or_fatal"

Without this "bup split -n NAME -d STAMP FILE" produces an error:

  Traceback (most recent call last):
    File "/usr/lib/bup/cmd/bup-split", line 67, in <module>
      date = parse_date_or_fatal(opt.date, o.fatal)
  NameError: name 'parse_date_or_fatal' is not defined

Signed-off-by: Fabian 'xx4h' Melters <xx4h@xx4h.de>
[rlb@defaultvalue.org: rebase on current master; adjust commit
 message; fix commit author]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
cmd/split-cmd.py