Commit 1d6b9730 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Cédric Le Ninivin

Restricted Patch: Allow xfw module and xfw.FieldList Type

parent c1013856
...@@ -331,6 +331,13 @@ if six.PY2: ...@@ -331,6 +331,13 @@ if six.PY2:
allow_type(cStringIO.InputType) allow_type(cStringIO.InputType)
allow_type(cStringIO.OutputType) allow_type(cStringIO.OutputType)
allow_module('xfw')
try:
import xfw
allow_type(xfw.FieldList)
except ImportError:
pass
ModuleSecurityInfo('cgi').declarePublic('escape', 'parse_header') ModuleSecurityInfo('cgi').declarePublic('escape', 'parse_header')
allow_module('datetime') allow_module('datetime')
import datetime import datetime
......
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