mirror of
https://github.com/python/cpython
synced 2024-09-25 11:11:36 +00:00
StandardGetFile without args now shows all files (in stead of none)
This commit is contained in:
parent
7be34a8bb3
commit
c263286bc6
|
@ -480,6 +480,8 @@ mfs_StandardGetFile(self, args)
|
|||
while ( numtypes < 4 && list[numtypes] ) {
|
||||
numtypes++;
|
||||
}
|
||||
if ( numtypes == 0 )
|
||||
numtypes = -1;
|
||||
StandardGetFile((FileFilterUPP)0, numtypes, list, &reply);
|
||||
return mkvalue("(Oi)", newmfssobject(&reply.sfFile), reply.sfGood);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue