mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ignore a single EINTR when installing command line tools on OS X
This commit is contained in:
parent
d5e8da9ba4
commit
cba2a4d776
@ -75,7 +75,10 @@ def do_it(scripts, links):
|
||||
if ph:
|
||||
del os.environ['PYTHONHOME']
|
||||
pipe = auth.executeWithPrivileges(name)
|
||||
try:
|
||||
sys.stdout.write(pipe.read())
|
||||
except:
|
||||
sys.stdout.write(pipe.read()) # Probably EINTR
|
||||
pipe.close()
|
||||
except:
|
||||
r1, r2 = None, traceback.format_exc()
|
||||
|
Loading…
x
Reference in New Issue
Block a user