Skip to content
Browse files

Import simplejson as json

  • Loading branch information...
1 parent 2cee541 commit d11ce9aad68ca6d3894bc91f6c76c0d082806540 Mark Costello committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 rdbtools/memprofiler.py
View
5 rdbtools/memprofiler.py
@@ -4,7 +4,10 @@
from rdbtools.utils import namedtuple
import random
-import json
+try:
+ import json
+except ImportError:
+ import simplejson as json
from rdbtools.parser import RdbCallback
from rdbtools.callbacks import encode_key

0 comments on commit d11ce9a

Please sign in to comment.
Something went wrong with that request. Please try again.