Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

Commit 4ee7dcc

Browse files
authored
Remove __future__ imports (#335)
These imports are just not needed anymore, since we run on python 3.7+. See here https://docs.python.org/3/library/__future__.html Signed-off-by: Kai Mueller <[email protected]>
1 parent 8eed0f7 commit 4ee7dcc

29 files changed

+0
-36
lines changed

crossdock/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import absolute_import
1615

1716
# This is because thrift for python doesn't have 'package_prefix'.
1817
# The thrift compiled libraries refer to each other relative to their subdir.

jaeger_client/TUDPTransport.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import absolute_import
1615
import logging
1716

1817
from thrift.transport.TTransport import TTransportBase

jaeger_client/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import absolute_import
1615

1716
__version__ = '4.6.2.dev0'
1817

jaeger_client/codecs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import absolute_import
1615

1716
import struct
1817

jaeger_client/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import absolute_import
1615

1716
import logging
1817
import os

jaeger_client/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import absolute_import, unicode_literals, print_function
1615

1716
from . import __version__
1817

jaeger_client/ioloop_util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import absolute_import
1615

1716
import sys
1817
from tornado import gen

jaeger_client/local_agent_net.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import absolute_import
1615

1716
from threadloop import ThreadLoop
1817
import tornado

jaeger_client/metrics/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import absolute_import
1615

1716
from .metrics import MetricsFactory # noqa
1817
from .metrics import LegacyMetricsFactory # noqa

jaeger_client/metrics/metrics.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import absolute_import
16-
from __future__ import division
17-
18-
1915
class MetricsFactory(object):
2016
"""Generates new metrics."""
2117

0 commit comments

Comments
 (0)