You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by sh...@apache.org on 2010/03/25 15:38:16 UTC
svn commit: r927426 -
/qpid/trunk/qpid/python/qpid/tests/messaging/endpoints.py
Author: shuston
Date: Thu Mar 25 14:38:16 2010
New Revision: 927426
URL: http://svn.apache.org/viewvc?rev=927426&view=rev
Log:
Use portable "/dev/null" to allow this to run on Windows as well.
Modified:
qpid/trunk/qpid/python/qpid/tests/messaging/endpoints.py
Modified: qpid/trunk/qpid/python/qpid/tests/messaging/endpoints.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/tests/messaging/endpoints.py?rev=927426&r1=927425&r2=927426&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/tests/messaging/endpoints.py (original)
+++ qpid/trunk/qpid/python/qpid/tests/messaging/endpoints.py Thu Mar 25 14:38:16 2010
@@ -52,7 +52,7 @@ class SetupTests(Base):
fds = []
try:
while True:
- fds.append(os.open("/dev/null", os.O_RDONLY))
+ fds.append(os.open(os.devnull, os.O_RDONLY))
except OSError, e:
if e.errno != errno.EMFILE:
raise e
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org