Commit bcc12a28 authored by Aurel's avatar Aurel

use getattr to be compatible with newer zope version

parent 0f8077f3
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>enctype = context[\'enctype\']\n
<value> <string>enctype = getattr(context, "enctype")\n
if enctype in (\'\', None):\n
return None\n
return enctype\n
......
1081
\ No newline at end of file
1083
\ No newline at end of file
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