Back to index

plone3  3.1.7
config.py
Go to the documentation of this file.
00001      
00002 try:
00003     import jsonserver
00004     from jsonserver.interfaces import IJSONRPCRequest
00005     from jsonserver.minjson.interfaces import IJSONStreamWriteable, IJSONWriter
00006 except ImportError:
00007     try:
00008         import Products.jsonserver
00009         from Products.jsonserver.interfaces import IJSONRPCRequest
00010         from Products.jsonserver.minjson.interfaces import IJSONStreamWriteable, IJSONWriter
00011     except ImportError:
00012         HAS_JSON = False
00013     else:
00014         HAS_JSON = True
00015 else:
00016     HAS_JSON = True