Oops, it should be an OSError instead of IOError

This commit is contained in:
Bas Stottelaar
2014-09-20 13:18:14 +02:00
parent 5305b6a3a8
commit 1379ff7845

View File

@@ -63,7 +63,7 @@ def listener():
if queue is None:
try:
queue = multiprocessing.Queue()
except IOError as e:
except OSError as e:
queue = False
# Some machines don't have access to /dev/shm. See