mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
StandardGetFile without args now shows all files (in stead of none)
This commit is contained in:
parent
7be34a8bb3
commit
c263286bc6
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue