kopia lustrzana https://github.com/dhylands/rshell
Porównaj commity
2 Commity
6b80fbe1d4
...
c8a2cd7d20
Autor | SHA1 | Data |
---|---|---|
Dave Hylands | c8a2cd7d20 | |
n4n5 | 95a5a97364 |
|
@ -830,6 +830,8 @@ def listdir_matches(match):
|
|||
# This can happen when a symlink points to a non-existant file.
|
||||
pass
|
||||
return filename
|
||||
if not os.path.isdir(dirname):
|
||||
return []
|
||||
matches = [add_suffix_if_dir(result_prefix + filename)
|
||||
for filename in os.listdir(dirname) if filename.startswith(match_prefix)]
|
||||
return matches
|
||||
|
|
Ładowanie…
Reference in New Issue