changeset 5385 | b6e250dd7a7d |
parent 5328 | c51e8f62652a |
parent 5377 | 84d14ddfae13 |
child 5423 | e15abfdcce38 |
--- a/web/views/tableview.py Fri Apr 23 11:10:30 2010 +0200 +++ b/web/views/tableview.py Fri Apr 23 12:42:53 2010 +0200 @@ -8,7 +8,10 @@ """ __docformat__ = "restructuredtext en" -from simplejson import dumps +try: + from json import dumps +except ImportError: + from simplejson import dumps from logilab.mtconverter import xml_escape