зеркало из https://github.com/github/vitess-gh.git
Removing a bunch of unused logging imports.
This commit is contained in:
Родитель
74be38deef
Коммит
42d9f7fb18
|
@ -2,8 +2,6 @@
|
||||||
# Use of this source code is governed by a BSD-style license that can
|
# Use of this source code is governed by a BSD-style license that can
|
||||||
# be found in the LICENSE file.
|
# be found in the LICENSE file.
|
||||||
|
|
||||||
import logging
|
|
||||||
|
|
||||||
|
|
||||||
# mapping from protocol to python class. The protocol matches the string
|
# mapping from protocol to python class. The protocol matches the string
|
||||||
# used by vtctlclient as a -vtctl_client_protocol parameter.
|
# used by vtctlclient as a -vtctl_client_protocol parameter.
|
||||||
|
|
|
@ -17,7 +17,6 @@ management.
|
||||||
|
|
||||||
import contextlib
|
import contextlib
|
||||||
import functools
|
import functools
|
||||||
import logging
|
|
||||||
|
|
||||||
from vtdb import dbexceptions
|
from vtdb import dbexceptions
|
||||||
from vtdb import shard_constants
|
from vtdb import shard_constants
|
||||||
|
|
|
@ -4,8 +4,6 @@ Vitess sharding scheme is range-sharded. Vitess supports routing for
|
||||||
other sharding schemes by allowing explicit shard_name addressing.
|
other sharding schemes by allowing explicit shard_name addressing.
|
||||||
This implementation is not fully complete as yet.
|
This implementation is not fully complete as yet.
|
||||||
"""
|
"""
|
||||||
import logging
|
|
||||||
|
|
||||||
from vtdb import db_object
|
from vtdb import db_object
|
||||||
from vtdb import dbexceptions
|
from vtdb import dbexceptions
|
||||||
from vtdb import shard_constants
|
from vtdb import shard_constants
|
||||||
|
|
|
@ -6,7 +6,6 @@ extends the functionality for getting, creating, updating and deleting
|
||||||
the lookup relationship.
|
the lookup relationship.
|
||||||
"""
|
"""
|
||||||
import functools
|
import functools
|
||||||
import logging
|
|
||||||
import struct
|
import struct
|
||||||
|
|
||||||
from vtdb import db_object
|
from vtdb import db_object
|
||||||
|
|
|
@ -5,7 +5,6 @@ for the common database operations is defined in DBObjectBase.
|
||||||
DBObjectUnsharded defines the cursor creation methods for the same.
|
DBObjectUnsharded defines the cursor creation methods for the same.
|
||||||
"""
|
"""
|
||||||
import functools
|
import functools
|
||||||
import logging
|
|
||||||
import struct
|
import struct
|
||||||
|
|
||||||
from vtdb import db_object
|
from vtdb import db_object
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
# Use of this source code is governed by a BSD-style license that can
|
# Use of this source code is governed by a BSD-style license that can
|
||||||
# be found in the LICENSE file.
|
# be found in the LICENSE file.
|
||||||
|
|
||||||
import logging
|
|
||||||
import random
|
import random
|
||||||
|
|
||||||
from zk import zkocc
|
from zk import zkocc
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
# soon.
|
# soon.
|
||||||
#
|
#
|
||||||
|
|
||||||
import logging
|
|
||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче