aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance/gen_select_dataset.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-26 19:12:33 +0300
committerBonfaceKilz2020-08-26 19:12:33 +0300
commit303e4b71c2172da5be19c84d4be5a062329ac013 (patch)
tree130496e7b4c6fe2157c14abd50be941823ed40b9 /wqflask/maintenance/gen_select_dataset.py
parent7717f0d3d4802d115a8b5ace4d379864ba5b1188 (diff)
downloadgenenetwork2-303e4b71c2172da5be19c84d4be5a062329ac013.tar.gz
Remove "from __future__ import new_feature" statements
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
Diffstat (limited to 'wqflask/maintenance/gen_select_dataset.py')
-rw-r--r--wqflask/maintenance/gen_select_dataset.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/wqflask/maintenance/gen_select_dataset.py b/wqflask/maintenance/gen_select_dataset.py
index fd65a52a..544e2fd1 100644
--- a/wqflask/maintenance/gen_select_dataset.py
+++ b/wqflask/maintenance/gen_select_dataset.py
@@ -30,14 +30,6 @@ It needs to be run manually when database has been changed. Run it as
#
# This module is used by GeneNetwork project (www.genenetwork.org)
-from __future__ import print_function, division
-
-#from flask import config
-#
-#cdict = {}
-#config = config.Config(cdict).from_envvar('WQFLASK_SETTINGS')
-#print("cdict is:", cdict)
-
import sys
# NEW: Note we prepend the current path - otherwise a guix instance of GN2 may be used instead
@@ -319,4 +311,4 @@ def _test_it():
if __name__ == '__main__':
Conn = MySQLdb.Connect(**parse_db_uri())
Cursor = Conn.cursor()
- main() \ No newline at end of file
+ main()