aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-27 01:18:11 +0300
committerBonfaceKilz2020-08-27 01:42:41 +0300
commit357ca458695fbc60c97de3d1cdf89034a8722bc5 (patch)
tree54179a761cb25a871370d7a815eed97d5e0497df /wqflask/base/data_set.py
parent768de71f09b116cad0f42c792c22a7dc410ea2f4 (diff)
downloadgenenetwork2-357ca458695fbc60c97de3d1cdf89034a8722bc5.tar.gz
Replace "string.split" & "string.join" with python's inbuilt methods
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r--wqflask/base/data_set.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 8ac7a279..ce017fb4 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -697,7 +697,7 @@ class DataSet(object):
else:
query = "SELECT {}.Name,".format(escape(dataset_type))
data_start_pos = 1
- query += string.join(temp, ', ')
+ query += ', '.join(temp)
query += ' FROM ({}, {}XRef, {}Freeze) '.format(*mescape(dataset_type,
self.type,
self.type))