qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r963737 - /qpid/trunk/qpid/python/qpid/brokertest.py
Date Tue, 13 Jul 2010 14:38:02 GMT
Author: aconway
Date: Tue Jul 13 14:38:02 2010
New Revision: 963737

URL: http://svn.apache.org/viewvc?rev=963737&view=rev
Log:
Fix error introduced in r963409 causing "AttributeError: Broker instance has no attribute
'pid'"

Modified:
    qpid/trunk/qpid/python/qpid/brokertest.py

Modified: qpid/trunk/qpid/python/qpid/brokertest.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/brokertest.py?rev=963737&r1=963736&r2=963737&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/brokertest.py (original)
+++ qpid/trunk/qpid/python/qpid/brokertest.py Tue Jul 13 14:38:02 2010
@@ -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)



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message