Commit ae139a92 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 e0893225
...@@ -283,6 +283,13 @@ if six.PY2: ...@@ -283,6 +283,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