diff data_manager/data_manager.py @ 3:f7b443a73374 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 23:29:44 +0000
parents 3d628f1e1bef
children cef5c909ccb8
line wrap: on
line diff
--- a/data_manager/data_manager.py	Tue Apr 28 07:57:37 2020 +0000
+++ b/data_manager/data_manager.py	Mon Jul 06 23:29:44 2020 +0000
@@ -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):