mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 18:53:40 +02:00
...
This commit is contained in:
parent
dfffc67082
commit
593214b309
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue