From b964e3824c560e1cd200850af5efed46bef0f74a Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Wed, 12 Aug 2009 15:40:29 +0000 Subject: fixed bug in default includes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803563 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid-python-test | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'python/qpid-python-test') diff --git a/python/qpid-python-test b/python/qpid-python-test index 68f9622710..3785af559f 100755 --- a/python/qpid-python-test +++ b/python/qpid-python-test @@ -103,10 +103,11 @@ for v in opts.ignore_file: for a in args: includes.append(a.strip()) -if not includes and not opts.modules: - includes.extend(["qpid.tests.*", "tests.*", "tests_0-10.*"]) -else: - includes.append("*") +if not includes: + if not opts.modules: + includes.extend(["qpid.tests.*", "tests.*", "tests_0-10.*"]) + else: + includes.append("*") def is_ignored(path): for p in excludes: -- cgit v1.2.1