|
@@ -672,6 +672,7 @@ def replace_placeholders(text):
|
|
}
|
|
}
|
|
return format_line(text, data)
|
|
return format_line(text, data)
|
|
|
|
|
|
|
|
+
|
|
PrefixSpec = replace_placeholders
|
|
PrefixSpec = replace_placeholders
|
|
|
|
|
|
|
|
|
|
@@ -1669,6 +1670,7 @@ def scandir_generic(path='.'):
|
|
for name in sorted(os.listdir(path)):
|
|
for name in sorted(os.listdir(path)):
|
|
yield GenericDirEntry(path, name)
|
|
yield GenericDirEntry(path, name)
|
|
|
|
|
|
|
|
+
|
|
try:
|
|
try:
|
|
from os import scandir
|
|
from os import scandir
|
|
except ImportError:
|
|
except ImportError:
|