File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -4811,16 +4811,17 @@ os__path_isdir_impl(PyObject *module, PyObject *path)
4811
4811
slow_path = FALSE;
4812
4812
}
4813
4813
} else {
4814
- switch (GetLastError ()) {
4815
- case ERROR_FILE_NOT_FOUND :
4816
- case ERROR_PATH_NOT_FOUND :
4817
- case ERROR_NOT_READY :
4818
- case ERROR_BAD_NET_NAME :
4819
- /* These errors aren't worth retrying with the slow path */
4820
- slow_path = FALSE;
4821
- case ERROR_NOT_SUPPORTED :
4822
- /* indicates the API couldn't be loaded */
4823
- break ;
4814
+ switch (GetLastError ()) {
4815
+ case ERROR_FILE_NOT_FOUND :
4816
+ case ERROR_PATH_NOT_FOUND :
4817
+ case ERROR_NOT_READY :
4818
+ case ERROR_BAD_NET_NAME :
4819
+ /* These errors aren't worth retrying with the slow path */
4820
+ slow_path = FALSE;
4821
+ case ERROR_NOT_SUPPORTED :
4822
+ /* indicates the API couldn't be loaded */
4823
+ break ;
4824
+ }
4824
4825
}
4825
4826
}
4826
4827
if (_path .fd != -1 ) {
You can’t perform that action at this time.
0 commit comments