Unused imports.
This commit is contained in:
parent
43a5349c48
commit
026757fd0d
@ -15,7 +15,6 @@
|
||||
"""Bits and pieces used by the driver that don't really fit elsewhere."""
|
||||
|
||||
import collections
|
||||
import random
|
||||
import struct
|
||||
|
||||
import bson
|
||||
@ -24,8 +23,7 @@ import pymongo
|
||||
from bson.binary import OLD_UUID_SUBTYPE
|
||||
from bson.py3compat import itervalues, string_type, iteritems
|
||||
from bson.son import SON
|
||||
from pymongo.errors import (AutoReconnect,
|
||||
CursorNotFound,
|
||||
from pymongo.errors import (CursorNotFound,
|
||||
DuplicateKeyError,
|
||||
OperationFailure,
|
||||
ExecutionTimeout,
|
||||
|
||||
@ -38,9 +38,7 @@ import warnings
|
||||
|
||||
from bson.py3compat import (integer_types,
|
||||
string_type)
|
||||
from bson.son import SON
|
||||
from pymongo import (auth,
|
||||
common,
|
||||
from pymongo import (common,
|
||||
database,
|
||||
helpers,
|
||||
message,
|
||||
|
||||
@ -14,13 +14,10 @@
|
||||
|
||||
"""Utilities for choosing which member of a replica set to read from."""
|
||||
|
||||
import random
|
||||
|
||||
from collections import Mapping, namedtuple
|
||||
|
||||
from pymongo.errors import ConfigurationError
|
||||
from pymongo.server_selectors import (near_enough_server_selector,
|
||||
near_member_with_tags_server_selector,
|
||||
from pymongo.server_selectors import (near_member_with_tags_server_selector,
|
||||
near_secondary_with_tags_server_selector,
|
||||
writable_server_selector)
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
import threading
|
||||
|
||||
from pymongo import common, monitor, pool
|
||||
from pymongo import monitor, pool
|
||||
from pymongo.topology_description import TOPOLOGY_TYPE
|
||||
from pymongo.pool import PoolOptions
|
||||
from pymongo.server_description import ServerDescription
|
||||
|
||||
Loading…
Reference in New Issue
Block a user