From f0117237fa7446bfd0ff8dbcba4e6625f44a397a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 14 Nov 2011 14:55:49 +0100 Subject: Fix default value for subunitrun --list. Autobuild-User: Jelmer Vernooij Autobuild-Date: Mon Nov 14 17:27:03 CET 2011 on sn-devel-104 --- source4/scripting/bin/subunitrun | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/scripting/bin/subunitrun b/source4/scripting/bin/subunitrun index db8f52fb4a5..df46b08801e 100755 --- a/source4/scripting/bin/subunitrun +++ b/source4/scripting/bin/subunitrun @@ -79,7 +79,7 @@ else: opts, args = parser.parse_args() -if opts.listtests: +if getattr(opts, "listtests", False): args.insert(0, "--list") else: lp = sambaopts.get_loadparm() -- cgit v1.2.1