Commit 3cc8f88f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Sebastien Robin

same as bcc12a28 (use getattr to be compatible...

same as bcc12a28 (use getattr to be compatible with newer zope version).
parent 620ca25b
......@@ -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
......
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