summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-11-14 14:55:49 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-11-14 17:27:02 +0100
commitf0117237fa7446bfd0ff8dbcba4e6625f44a397a (patch)
treec21b690ec335dc70083ececa6d957e585a024588 /source4/scripting
parent042f3fe5f6f1b93d282d421dee08cc4e2e1aaf19 (diff)
downloadsamba-f0117237fa7446bfd0ff8dbcba4e6625f44a397a.tar.gz
samba-f0117237fa7446bfd0ff8dbcba4e6625f44a397a.tar.bz2
samba-f0117237fa7446bfd0ff8dbcba4e6625f44a397a.zip
Fix default value for subunitrun --list.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 14 17:27:03 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/scripting')
-rwxr-xr-xsource4/scripting/bin/subunitrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/subunitrun b/source4/scripting/bin/subunitrun
index db8f52fb4a..df46b08801 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()