diff data_manager/data_manager.py @ 3:bdd8632fa9fb draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_fetch_ncbi_taxonomy/ commit 1bcd553f81064957d5786302361675c29ed58a8d"
author iuc
date Mon, 06 Jul 2020 19:32:35 -0400
parents 4af4e175db0d
children d6acd5cd497b
line wrap: on
line diff
--- a/data_manager/data_manager.py	Tue Apr 28 03:57:59 2020 -0400
+++ b/data_manager/data_manager.py	Mon Jul 06 19:32:35 2020 -0400
@@ -5,12 +5,7 @@
 import shutil
 import tarfile
 import zipfile
-try:
-    # For Python 3.0 and later
-    from urllib.request import Request, urlopen
-except ImportError:
-    # Fall back to Python 2 imports
-    from urllib2 import Request, urlopen
+from urllib.request import Request, urlopen
 
 
 def url_download(url, workdir):