This commit is contained in:
Kovid Goyal 2009-12-23 09:42:37 -07:00
parent dfffc67082
commit 593214b309

View file

@ -329,7 +329,8 @@ def run_ioreg(cls, raw=None):
return subprocess.Popen(cmd,
stdout=subprocess.PIPE).communicate()[0]
except IOError: # Probably an interrupted system call
pass
if i == 2:
raise
time.sleep(2)