Import quote directly from swift.common.utils

... instead of via direct_client.

When I go grepping for direct_client in my code base, I want to find the
actual users of direct_client!

Change-Id: Id55c9c8ea3ab7bb86da1c5e8f6e979c26974a260
This commit is contained in:
Tim Burke 2018-09-11 20:24:38 -06:00
parent 4bdc9b003a
commit 8bc1434367

View File

@ -29,12 +29,11 @@ from eventlet.green import subprocess
import swift.common.db import swift.common.db
from swift.common.constraints import check_drive from swift.common.constraints import check_drive
from swift.common.direct_client import quote
from swift.common.utils import get_logger, whataremyips, storage_directory, \ from swift.common.utils import get_logger, whataremyips, storage_directory, \
renamer, mkdirs, lock_parent_directory, config_true_value, \ renamer, mkdirs, lock_parent_directory, config_true_value, \
unlink_older_than, dump_recon_cache, rsync_module_interpolation, \ unlink_older_than, dump_recon_cache, rsync_module_interpolation, \
json, parse_override_options, round_robin_iter, Everything, get_db_files, \ json, parse_override_options, round_robin_iter, Everything, get_db_files, \
parse_db_filename parse_db_filename, quote
from swift.common import ring from swift.common import ring
from swift.common.ring.utils import is_local_device from swift.common.ring.utils import is_local_device
from swift.common.http import HTTP_NOT_FOUND, HTTP_INSUFFICIENT_STORAGE, \ from swift.common.http import HTTP_NOT_FOUND, HTTP_INSUFFICIENT_STORAGE, \