[FIX] actually retry select on EINTR
authorXavier Morel <xmo@openerp.com>
Wed, 19 Feb 2014 15:53:03 +0000 (16:53 +0100)
committerXavier Morel <xmo@openerp.com>
Wed, 19 Feb 2014 15:53:03 +0000 (16:53 +0100)
commitfc780d5a811d313e40772903dc81f0cc2319bd48
tree18c93e4d0a8953f491fa210a2fce9bcf0095f923
parent55a9e5af2723817b7d85ea9d5cb49d50fba5e7c3
[FIX] actually retry select on EINTR

Turns out select has its own select.error which does *not* subclass
EnvironmentError (or OSError or IOError) and does *not* have a .errno
attribute. So use the correct exception, might just work better than using
a completely different one with no relation.

bzr revid: xmo@openerp.com-20140219155303-sgz7m3gnzr2bmani
openerp/tests/common.py