aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/redis_tools.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-26 19:12:33 +0300
committerBonfaceKilz2020-08-26 19:12:33 +0300
commit303e4b71c2172da5be19c84d4be5a062329ac013 (patch)
tree130496e7b4c6fe2157c14abd50be941823ed40b9 /wqflask/utility/redis_tools.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/utility/redis_tools.py')
-rw-r--r--wqflask/utility/redis_tools.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/wqflask/utility/redis_tools.py b/wqflask/utility/redis_tools.py
index 1377a564..13ac5cfe 100644
--- a/wqflask/utility/redis_tools.py
+++ b/wqflask/utility/redis_tools.py
@@ -1,5 +1,3 @@
-from __future__ import print_function, division, absolute_import
-
import uuid
import simplejson as json
import datetime
@@ -306,4 +304,4 @@ def change_resource_owner(resource_id, new_owner_id):
the_resource['owner_id'] = new_owner_id
Redis.delete("resource")
- Redis.hset("resources", resource_id, json.dumps(the_resource)) \ No newline at end of file
+ Redis.hset("resources", resource_id, json.dumps(the_resource))