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:
@@ -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
|
||||
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user