Drop unnecessary __future__ import

print_function is now the default in Python 3.

Also drop legacy fallback of urllib for Python 2-3 compatibility.

Change-Id: I98fe467cf95530ba45682404a0a7a8a2a1a0c50c
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2026-01-23 01:27:45 +09:00
parent 46f62db50e
commit ed7f758288
2 changed files with 1 additions and 7 deletions

View File

@@ -12,7 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.
from __future__ import print_function
import argparse
import collections
import errno

View File

@@ -12,14 +12,9 @@
# License for the specific language governing permissions and limitations
# under the License.
from __future__ import print_function
import os.path
try:
from urllib.parse import urlparse
except ImportError:
from urlparse import urlparse
from urllib.parse import urlparse
def main():