diff --git a/examples/usbcat/device.py b/examples/usbcat/device.py
index <HASH>..<HASH> 100755
--- a/examples/usbcat/device.py
+++ b/examples/usbcat/device.py
@@ -37,7 +37,7 @@ def noIntr(func):
     while True:
         try:
             return func()
-        except IOError, exc:
+        except (IOError, OSError) as exc:
             if exc.errno != errno.EINTR:
                 raise
examples/usbcat/device: Also catch OSError to retry after EINTR

libaio raises OSError (maybe wrongly ?).