Commit fcaa4499 authored by Ayush Tiwari's avatar Ayush Tiwari

Products/ERP5Type: Do not break projects not having xmltodict installed yet

parent 6ef81933
......@@ -28,7 +28,13 @@
##############################################################################
import json
import xmltodict
import warnings
try:
import xmltodict
except ImportError:
xmltodict = None
warnings.warn("Please install xmltodict, it is needed by json_representable mixin",
DeprecationWarning)
import zope.interface
from OFS import XMLExportImport
from StringIO import StringIO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment