Skip to content

Commit

Permalink
Fix for RHEL/CentOS old Python versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbuchbinder committed Jul 30, 2012
1 parent 4b4a306 commit dc52709
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion elasticsearch/python_modules/elasticsearch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#! /usr/bin/python

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

import time
import urllib

Expand Down

0 comments on commit dc52709

Please sign in to comment.