From ef94bc8db8b7ac1052cc947cefd341bd747d91fa Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 26 Sep 2012 11:26:51 -0700 Subject: [PATCH] support python 2.5 --- tests/python_tests/json_feature_properties_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/python_tests/json_feature_properties_test.py b/tests/python_tests/json_feature_properties_test.py index 2eb92a20a..0f27810c3 100644 --- a/tests/python_tests/json_feature_properties_test.py +++ b/tests/python_tests/json_feature_properties_test.py @@ -3,7 +3,10 @@ from nose.tools import * import os,sys import mapnik -import json +try: + import json +except ImportError: + import simplejson as json chars = [ {