Commit d0437895 authored by Hanno Schlichting's avatar Hanno Schlichting

Import RestrictedDTML from new location

parent cf7ecad4
...@@ -27,8 +27,8 @@ from AccessControl.Permissions import view_management_screens ...@@ -27,8 +27,8 @@ from AccessControl.Permissions import view_management_screens
from AccessControl.Permissions import change_proxy_roles from AccessControl.Permissions import change_proxy_roles
from AccessControl.Permissions import view as View from AccessControl.Permissions import view as View
from AccessControl.Permissions import ftp_access from AccessControl.Permissions import ftp_access
from AccessControl.DTML import RestrictedDTML
from AccessControl.requestmethod import requestmethod from AccessControl.requestmethod import requestmethod
from DocumentTemplate.security import RestrictedDTML
from OFS.Cache import Cacheable from OFS.Cache import Cacheable
from OFS.History import Historical from OFS.History import Historical
from OFS.History import html_diff from OFS.History import html_diff
......
...@@ -18,7 +18,6 @@ $Id$ ...@@ -18,7 +18,6 @@ $Id$
from string import translate from string import translate
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from AccessControl.DTML import RestrictedDTML
from AccessControl.Permission import name_trans from AccessControl.Permission import name_trans
from AccessControl.Permissions import view_management_screens from AccessControl.Permissions import view_management_screens
from Acquisition import aq_base from Acquisition import aq_base
...@@ -28,6 +27,7 @@ from DateTime.DateTime import DateTime ...@@ -28,6 +27,7 @@ from DateTime.DateTime import DateTime
from DocumentTemplate.DT_Util import Eval from DocumentTemplate.DT_Util import Eval
from DocumentTemplate.DT_Util import InstanceDict from DocumentTemplate.DT_Util import InstanceDict
from DocumentTemplate.DT_Util import TemplateDict from DocumentTemplate.DT_Util import TemplateDict
from DocumentTemplate.security import RestrictedDTML
from ExtensionClass import Base from ExtensionClass import Base
from zope.interface import implements from zope.interface import implements
......
...@@ -59,7 +59,7 @@ class _SecureModuleImporter: ...@@ -59,7 +59,7 @@ class _SecureModuleImporter:
return mod return mod
from DocumentTemplate.DT_Util import TemplateDict, InstanceDict from DocumentTemplate.DT_Util import TemplateDict, InstanceDict
from AccessControl.DTML import RestrictedDTML from DocumentTemplate.security import RestrictedDTML
class Rtd(RestrictedDTML, TemplateDict): class Rtd(RestrictedDTML, TemplateDict):
this = None this = None
......
...@@ -21,7 +21,6 @@ __version__='$Revision: 1.14 $'[11:-2] ...@@ -21,7 +21,6 @@ __version__='$Revision: 1.14 $'[11:-2]
from urllib import urlencode from urllib import urlencode
from AccessControl.DTML import RestrictedDTML
from AccessControl.SecurityInfo import ModuleSecurityInfo from AccessControl.SecurityInfo import ModuleSecurityInfo
from AccessControl.SecurityManagement import getSecurityManager from AccessControl.SecurityManagement import getSecurityManager
from App.special_dtml import HTML from App.special_dtml import HTML
...@@ -38,6 +37,7 @@ from DocumentTemplate.DT_Var import thousands_commas ...@@ -38,6 +37,7 @@ from DocumentTemplate.DT_Var import thousands_commas
from DocumentTemplate.DT_Var import url_unquote from DocumentTemplate.DT_Var import url_unquote
from DocumentTemplate.DT_Var import url_unquote_plus from DocumentTemplate.DT_Var import url_unquote_plus
from DocumentTemplate.DT_Var import restructured_text from DocumentTemplate.DT_Var import restructured_text
from DocumentTemplate.security import RestrictedDTML
from ZPublisher.HTTPRequest import record from ZPublisher.HTTPRequest import record
security = ModuleSecurityInfo() security = ModuleSecurityInfo()
......
...@@ -22,7 +22,6 @@ import time ...@@ -22,7 +22,6 @@ import time
import urllib import urllib
from warnings import warn from warnings import warn
from AccessControl.DTML import RestrictedDTML
from AccessControl.Permission import name_trans from AccessControl.Permission import name_trans
from AccessControl.Permissions import manage_zcatalog_entries from AccessControl.Permissions import manage_zcatalog_entries
from AccessControl.Permissions import manage_zcatalog_indexes from AccessControl.Permissions import manage_zcatalog_indexes
...@@ -36,6 +35,7 @@ from DateTime.DateTime import DateTime ...@@ -36,6 +35,7 @@ from DateTime.DateTime import DateTime
from DocumentTemplate.DT_Util import InstanceDict from DocumentTemplate.DT_Util import InstanceDict
from DocumentTemplate.DT_Util import TemplateDict from DocumentTemplate.DT_Util import TemplateDict
from DocumentTemplate.DT_Util import Eval from DocumentTemplate.DT_Util import Eval
from DocumentTemplate.security import RestrictedDTML
from OFS.Folder import Folder from OFS.Folder import Folder
from OFS.ObjectManager import ObjectManager from OFS.ObjectManager import ObjectManager
from Persistence import Persistent from Persistence import Persistent
......
...@@ -19,7 +19,6 @@ import string ...@@ -19,7 +19,6 @@ import string
import sys import sys
from time import time from time import time
from AccessControl.DTML import RestrictedDTML
from AccessControl.Permissions import change_database_methods from AccessControl.Permissions import change_database_methods
from AccessControl.Permissions import use_database_methods from AccessControl.Permissions import use_database_methods
from AccessControl.Permissions import view_management_screens from AccessControl.Permissions import view_management_screens
...@@ -32,6 +31,7 @@ from App.Extensions import getBrain ...@@ -32,6 +31,7 @@ from App.Extensions import getBrain
from App.special_dtml import DTMLFile from App.special_dtml import DTMLFile
from DocumentTemplate import HTML from DocumentTemplate import HTML
from DocumentTemplate.html_quote import html_quote from DocumentTemplate.html_quote import html_quote
from DocumentTemplate.security import RestrictedDTML
from DateTime.DateTime import DateTime from DateTime.DateTime import DateTime
from ExtensionClass import Base from ExtensionClass import Base
from BTrees.OOBTree import OOBucket as Bucket from BTrees.OOBTree import OOBucket as Bucket
......
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