summaryrefslogtreecommitdiff
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
commit824d7dc9190ce62e9629f6c9426ee8f38d9edc44 (patch)
treede1ea01b6d0ac21a4db0afd2e07b8147c8b29e4d
parent034f21f0476641dd21bfe898d39221a9920394e8 (diff)
downloadqpid-python-824d7dc9190ce62e9629f6c9426ee8f38d9edc44.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/qpid@963737 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--python/qpid/brokertest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/brokertest.py b/python/qpid/brokertest.py
index f1a58aa8a9..1fc16162ba 100644
--- a/python/qpid/brokertest.py
+++ b/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)