You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Try to change the error mode to avoid dialogs on fatal errors. Don't
626
636
# touch any existing error mode flags by merging the existing error mode.
627
637
# See http://blogs.msdn.com/oldnewthing/archive/2004/07/27/198410.aspx.
628
-
error_mode=SEM_NOGPFAULTERRORBOX;
629
-
prev_error_mode=Win32SetErrorMode(error_mode);
630
-
Win32SetErrorMode(error_mode|prev_error_mode);
638
+
error_mode=SEM_NOGPFAULTERRORBOX
639
+
prev_error_mode=Win32SetErrorMode(error_mode)
640
+
Win32SetErrorMode(error_mode|prev_error_mode)
631
641
632
642
faketty=rest.pop('faketty', False)
633
643
pty_out=rest.pop('pty_out')
@@ -696,7 +706,7 @@ def CheckedUnlink(name):
696
706
whileTrue:
697
707
try:
698
708
os.unlink(name)
699
-
exceptOSError,e:
709
+
exceptOSErrorase:
700
710
# On Windows unlink() fails if another process (typically a virus scanner
701
711
# or the indexing service) has the file open. Those processes keep a
702
712
# file open for a short time only, so yield and try again; it'll succeed.
0 commit comments