mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-05 08:25:18 +01:00
Ignore a single EINTR when installing command line tools on OS X
This commit is contained in:
parent
d5e8da9ba4
commit
cba2a4d776
1 changed files with 4 additions and 1 deletions
|
|
@ -75,7 +75,10 @@ def do_it(scripts, links):
|
|||
if ph:
|
||||
del os.environ['PYTHONHOME']
|
||||
pipe = auth.executeWithPrivileges(name)
|
||||
sys.stdout.write(pipe.read())
|
||||
try:
|
||||
sys.stdout.write(pipe.read())
|
||||
except:
|
||||
sys.stdout.write(pipe.read()) # Probably EINTR
|
||||
pipe.close()
|
||||
except:
|
||||
r1, r2 = None, traceback.format_exc()
|
||||
|
|
|
|||
Loading…
Reference in a new issue