Skip to content
Snippets Groups Projects

use build-in os.scandir only

Closed Nicola Jordan requested to merge feature/use_built-in_scandir_only into develop
4 files
+ 1
10
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -4,12 +4,7 @@ import subprocess
import uuid
import zipfile
# Use the built-in version of scandir if possible, otherwise
# use the scandir module version
try:
from os import scandir
except ImportError:
from scandir import scandir
from os import scandir
logger = logging.getLogger(__name__)
Loading