Commit e3914679 authored by Jim Fulton's avatar Jim Fulton

Added proxy roles to saved state.

parent 8814f7c8
"""Document object""" """Document object"""
__version__='$Revision: 1.53 $'[11:-2] __version__='$Revision: 1.54 $'[11:-2]
from Globals import HTML, HTMLFile, MessageDialog from Globals import HTML, HTMLFile, MessageDialog
from string import join,split,strip,rfind,atoi,lower from string import join,split,strip,rfind,atoi,lower
...@@ -52,7 +52,8 @@ class Document(cDocumentTemplate.cDocument, HTML, Explicit, ...@@ -52,7 +52,8 @@ class Document(cDocumentTemplate.cDocument, HTML, Explicit,
('View', ['__call__', '']), ('View', ['__call__', '']),
) )
_state_name={'raw':1, 'globals':1, '__name__':1, '_vars':1}.has_key _state_name={'raw':1, 'globals':1, '__name__':1, '_vars':1,
'_proxy_roles'}.has_key
def __getstate__(self): def __getstate__(self):
r={} r={}
......
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