Commit 25ade23a authored by Julien Muchembled's avatar Julien Muchembled

Make cloudooo.helper.uno* work with Python 2.5

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@41731 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5603ec5f
......@@ -287,7 +287,10 @@ def main():
param_list = [tuple[0] for tuple in iter(opt_list)]
try:
import json
except ImportError:
import simplejson as json
refresh = None
for opt, arg in iter(opt_list):
if opt in ('-h', '--help'):
......
......@@ -28,7 +28,10 @@
##############################################################################
import sys
import json
try:
import json
except ImportError:
import simplejson as json
import helper_utils
from os import environ, path, putenv
from getopt import getopt, GetoptError
......
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