diff --git a/boto/iam/connection.py b/boto/iam/connection.py index fb521da657..df9e17f26e 100644 --- a/boto/iam/connection.py +++ b/boto/iam/connection.py @@ -19,7 +19,10 @@ # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -import json +try: + import json +except ImportError: + import simplejson as json import boto import boto.jsonresponse