Commit 30f7673c authored by Julien Muchembled's avatar Julien Muchembled

Make cloudooo.helper.unomimemapper work with Python 2.5

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@41311 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 74256682
...@@ -140,7 +140,7 @@ def main(): ...@@ -140,7 +140,7 @@ def main():
elif opt == "--port": elif opt == "--port":
port = arg port = arg
mimemapper = UnoMimemapper(hostname, port, **environ) mimemapper = UnoMimemapper(hostname, port, **dict(environ))
filter_dict = mimemapper.getFilterDict() filter_dict = mimemapper.getFilterDict()
type_dict = mimemapper.getTypeDict() type_dict = mimemapper.getTypeDict()
print "filter_dict = %s\ntype_dict = %s" % (filter_dict, type_dict) print "filter_dict = %s\ntype_dict = %s" % (filter_dict, type_dict)
......
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