aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/trait.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-20 15:39:50 +0300
committerBonfaceKilz2020-08-20 15:39:50 +0300
commit09cb4a05526c73229428401f356251bbfe8bf1cd (patch)
treeee1367551a26924a54a2039e040d2dffb0bdcb0e /wqflask/base/trait.py
parentdb41cd49b6d8ccd2c3318209118ffe098bc9293e (diff)
downloadgenenetwork2-09cb4a05526c73229428401f356251bbfe8bf1cd.tar.gz
Add backward support for urllib
* wqflask/base/trait.py: Remove unused imports * wqflask/db/call.py (Bench): Add urllib2 fallback for python2
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r--wqflask/base/trait.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 05b272c3..a19b66f7 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -6,7 +6,6 @@ import resource
import codecs
import requests
import random
-import urllib.request, urllib.parse, urllib.error
from base import webqtlConfig
from base.webqtlCaseData import webqtlCaseData
@@ -607,4 +606,4 @@ def retrieve_trait_info(trait, dataset, get_qtl_info=False):
else:
raise KeyError(repr(trait.name)+' information is not found in the database.')
- return trait \ No newline at end of file
+ return trait