Skip to content

Commit

Permalink
Merge pull request p#2 from mwalton21/master
Browse files Browse the repository at this point in the history
Handle versions of Python before 2.6
  • Loading branch information
p committed Mar 5, 2012
2 parents 6d7778e + cf1a23c commit 67b7c77
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion redisdl.py
@@ -1,6 +1,9 @@
#!/usr/bin/env python

import json
try:
import json
except ImportError:
import simplejson as json
import redis

def dumps(host='localhost', port=6379, db=0, pretty=False):
Expand Down

0 comments on commit 67b7c77

Please sign in to comment.