34d33
< import json
77,80c76,83
< json_file = file(os.path.join(options.outdir, options.json_config), 'w')
< d = root.get_config_as_dict()
< json.dump(d, json_file, indent=4)
< json_file.close()
---
> try:
> import json
> json_file = file(os.path.join(options.outdir, options.json_config), 'w')
> d = root.get_config_as_dict()
> json.dump(d, json_file, indent=4)
> json_file.close()
> except ImportError:
> pass