From 33984b1f605bcb3cc08a28868bbcdf24d3f1d7c7 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 17 Dec 2013 02:02:56 +0900 Subject: [PATCH] remove pyaudio try/accept, as we catch it in sound.py --- thirdparty/pyaudio.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/thirdparty/pyaudio.py b/thirdparty/pyaudio.py index af1147a29..f491f2baf 100644 --- a/thirdparty/pyaudio.py +++ b/thirdparty/pyaudio.py @@ -92,16 +92,7 @@ __author__ = "Hubert Pham" __version__ = "0.2.4" __docformat__ = "restructuredtext en" -import sys - -# attempt to import PortAudio -try: - import _portaudio as pa -except ImportError: - print "Please build and install the PortAudio Python " +\ - "bindings first." - sys.exit(-1) - +import _portaudio as pa # Try to use Python 2.4's built in `set' try: