summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/brokertest.py
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2014-02-06 18:14:53 +0000
committerAlan Conway <aconway@apache.org>2014-02-06 18:14:53 +0000
commitfdbfa5fba57db0802a9cbff5dc928f2679761c49 (patch)
tree3bbd12b0ace87ebf35c39f85236f388cb2c216a6 /qpid/cpp/src/tests/brokertest.py
parent7311e5e071eed1b484f48a39bb4e5f776f5345de (diff)
downloadqpid-python-fdbfa5fba57db0802a9cbff5dc928f2679761c49.tar.gz
Author: Alan Conway <aconway@redhat.com>
--- log message follows this NO-JIRA: Remove use of python built-in 'next', not available before python 2.6. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565382 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/brokertest.py')
-rw-r--r--qpid/cpp/src/tests/brokertest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/brokertest.py b/qpid/cpp/src/tests/brokertest.py
index c7fcf2c3af..4b6820e4fd 100644
--- a/qpid/cpp/src/tests/brokertest.py
+++ b/qpid/cpp/src/tests/brokertest.py
@@ -278,7 +278,7 @@ class Broker(Popen):
cmd += ["--log-to-stderr=no"]
# Add default --log-enable arguments unless args already has --log arguments.
- if not next((l for l in args if l.startswith("--log")), None):
+ if not [l for l in args if l.startswith("--log")]:
args += ["--log-enable=info+"]
if test_store: cmd += ["--load-module", BrokerTest.test_store_lib,