From c4c7d78391948298b00b9d8ddbc480e029985d75 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 4 May 2019 00:34:46 -0500 Subject: [PATCH] Remove unnecessary print_function imports --- tweepy/api.py | 2 -- tweepy/auth.py | 2 -- tweepy/binder.py | 2 -- tweepy/cache.py | 2 -- tweepy/cursor.py | 2 -- tweepy/error.py | 2 -- tweepy/models.py | 2 +- tweepy/parsers.py | 2 -- tweepy/streaming.py | 2 +- tweepy/utils.py | 2 -- 10 files changed, 2 insertions(+), 18 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 5cea785..2741e0c 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2,8 +2,6 @@ # Copyright 2009-2019 Joshua Roesslein # See LICENSE for details. -from __future__ import print_function - import os import mimetypes diff --git a/tweepy/auth.py b/tweepy/auth.py index 0c9b9f9..dd6b8a4 100644 --- a/tweepy/auth.py +++ b/tweepy/auth.py @@ -2,8 +2,6 @@ # Copyright 2009-2019 Joshua Roesslein # See LICENSE for details. -from __future__ import print_function - import six import logging diff --git a/tweepy/binder.py b/tweepy/binder.py index b1fe8b9..b3e4c66 100644 --- a/tweepy/binder.py +++ b/tweepy/binder.py @@ -2,8 +2,6 @@ # Copyright 2009-2019 Joshua Roesslein # See LICENSE for details. -from __future__ import print_function - import time import re diff --git a/tweepy/cache.py b/tweepy/cache.py index df8c44a..2adba3d 100644 --- a/tweepy/cache.py +++ b/tweepy/cache.py @@ -2,8 +2,6 @@ # Copyright 2009-2019 Joshua Roesslein # See LICENSE for details. -from __future__ import print_function - import time import datetime import hashlib diff --git a/tweepy/cursor.py b/tweepy/cursor.py index 5f62a33..746b1e8 100644 --- a/tweepy/cursor.py +++ b/tweepy/cursor.py @@ -2,8 +2,6 @@ # Copyright 2009-2019 Joshua Roesslein # See LICENSE for details. -from __future__ import print_function - from tweepy.error import TweepError from tweepy.parsers import ModelParser, RawParser diff --git a/tweepy/error.py b/tweepy/error.py index de7d75e..587195a 100644 --- a/tweepy/error.py +++ b/tweepy/error.py @@ -2,8 +2,6 @@ # Copyright 2009-2019 Joshua Roesslein # See LICENSE for details. -from __future__ import print_function - import six class TweepError(Exception): diff --git a/tweepy/models.py b/tweepy/models.py index 2240f98..284ad5a 100644 --- a/tweepy/models.py +++ b/tweepy/models.py @@ -2,7 +2,7 @@ # Copyright 2009-2019 Joshua Roesslein # See LICENSE for details. -from __future__ import absolute_import, print_function +from __future__ import absolute_import from tweepy.utils import parse_datetime, parse_html_value, parse_a_href diff --git a/tweepy/parsers.py b/tweepy/parsers.py index fbe60ab..3d5528f 100644 --- a/tweepy/parsers.py +++ b/tweepy/parsers.py @@ -2,8 +2,6 @@ # Copyright 2009-2019 Joshua Roesslein # See LICENSE for details. -from __future__ import print_function - import json as json_lib from tweepy.models import ModelFactory from tweepy.error import TweepError diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 8a75c51..27a5d11 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -4,7 +4,7 @@ # Appengine users: https://developers.google.com/appengine/docs/python/sockets/#making_httplib_use_sockets -from __future__ import absolute_import, print_function +from __future__ import absolute_import import logging import re diff --git a/tweepy/utils.py b/tweepy/utils.py index f1dbefe..7859121 100644 --- a/tweepy/utils.py +++ b/tweepy/utils.py @@ -2,8 +2,6 @@ # Copyright 2010-2019 Joshua Roesslein # See LICENSE for details. -from __future__ import print_function - from datetime import datetime import six -- 2.25.1