summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandy <andy@whiskeymedia.com>2011-07-18 09:57:05 -0700
committerandy <andy@whiskeymedia.com>2011-07-18 09:57:05 -0700
commit6dc7c2139f8c8f7c762d8dbd38a80f2accca5c8f (patch)
tree47431b3636fac8671bc0db0010d3ea8b60224f15
parent25888c81d28ef7eff2d74dab5f26030087027a2d (diff)
downloadredis-py-6dc7c2139f8c8f7c762d8dbd38a80f2accca5c8f.tar.gz
added __future__ import to be 2.5 compat.
-rw-r--r--redis/client.py1
-rw-r--r--tests/pipeline.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py
index 1c245bf..24f8d81 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -1,3 +1,4 @@
+from __future__ import with_statement
import datetime
import time
import warnings
diff --git a/tests/pipeline.py b/tests/pipeline.py
index f4845d3..58b97ef 100644
--- a/tests/pipeline.py
+++ b/tests/pipeline.py
@@ -1,3 +1,4 @@
+from __future__ import with_statement
import redis
import unittest