]> arthur.barton.de Git - bup.git/commit
options.py: don't crash given semi-invalid optspecs.
authorAvery Pennarun <apenwarr@gmail.com>
Mon, 19 Mar 2012 18:34:51 +0000 (14:34 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 19 Mar 2012 18:36:33 +0000 (14:36 -0400)
commitb0b2171510ae41d17db00821fbb9d4fe15c74314
treecc0a9fc61e01610b70ec082fafb76fa43afccb31
parent1b740a01aa0833b1b27c904ba65bfd67caf7a3b8
options.py: don't crash given semi-invalid optspecs.

It's kind of weird to provide an argument without a description, but it's
not crash-worthy (especially when the crash was a totally unhelpful
exception stack trace).  While we're here, test for a couple of other ones
that didn't cause a crash, but we want to keep it that way.

And fix the copyright message; actually options.py started in 2010.

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