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 @@ class Device(DeviceConfig, DevicePlugin):
return subprocess.Popen(cmd, return subprocess.Popen(cmd,
stdout=subprocess.PIPE).communicate()[0] stdout=subprocess.PIPE).communicate()[0]
except IOError: # Probably an interrupted system call except IOError: # Probably an interrupted system call
pass if i == 2:
raise
time.sleep(2) time.sleep(2)