Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tools/worlddump.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

import argparse
import datetime
from distutils import spawn
import fnmatch
import io
import os
Expand Down Expand Up @@ -76,7 +75,7 @@ def _dump_cmd(cmd):


def _find_cmd(cmd):
if not spawn.find_executable(cmd):
if not shutil.which(cmd):
print("*** %s not found: skipping" % cmd)
return False
return True
Expand Down