summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-07-13 14:38:02 +0000
committerAlan Conway <aconway@apache.org>2010-07-13 14:38:02 +0000
commitae93c3f33a2055f251d67fb3163a8167a6c9c292 (patch)
tree8e0adc171b4dad4cf0cfb4b96921ee5032e99923 /qpid/python
parentb5a0cdf07d2c59207d28007741e50966c4fed21e (diff)
downloadqpid-python-ae93c3f33a2055f251d67fb3163a8167a6c9c292.tar.gz
Fix error introduced in r963409 causing "AttributeError: Broker instance has no attribute 'pid'"
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@963737 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/brokertest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/qpid/brokertest.py b/qpid/python/qpid/brokertest.py
index f1a58aa8a9..1fc16162ba 100644
--- a/qpid/python/qpid/brokertest.py
+++ b/qpid/python/qpid/brokertest.py
@@ -153,9 +153,9 @@ class Popen(popen2.Popen3):
self.cmd = [ str(x) for x in cmd ]
self.returncode = None
self.expect = expect
+ popen2.Popen3.__init__(self, self.cmd, True)
self.pname = "%s-%d" % (os.path.split(self.cmd[0])[1], self.pid)
msg = "Process %s" % self.pname
- popen2.Popen3.__init__(self, self.cmd, True)
self.stdin = ExceptionWrapper(self.tochild, msg)
self.stdout = Popen.OutStream(self.fromchild, self.outfile("out"), msg)
self.stderr = Popen.OutStream(self.childerr, self.outfile("err"), msg)