Commit 27e7480c authored by 's avatar

merge from 2.3

parent 32389358
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
############################################################################## ##############################################################################
"""DTML Method objects.""" """DTML Method objects."""
__version__='$Revision: 1.59 $'[11:-2] __version__='$Revision: 1.60 $'[11:-2]
import History import History
from Globals import HTML, DTMLFile, MessageDialog from Globals import HTML, DTMLFile, MessageDialog
...@@ -346,8 +346,6 @@ class DTMLMethod(HTML, Acquisition.Implicit, RoleManager, ...@@ -346,8 +346,6 @@ class DTMLMethod(HTML, Acquisition.Implicit, RoleManager,
def manage_proxy(self, roles=(), REQUEST=None): def manage_proxy(self, roles=(), REQUEST=None):
"Change Proxy Roles" "Change Proxy Roles"
if not roles:
raise ValueError, 'You must select one or more proxy roles.'
self._validateProxy(REQUEST, roles) self._validateProxy(REQUEST, roles)
self._validateProxy(REQUEST) self._validateProxy(REQUEST)
self._proxy_roles=tuple(roles) self._proxy_roles=tuple(roles)
......
...@@ -89,7 +89,7 @@ This product provides support for Script objects containing restricted ...@@ -89,7 +89,7 @@ This product provides support for Script objects containing restricted
Python code. Python code.
""" """
__version__='$Revision: 1.19 $'[11:-2] __version__='$Revision: 1.20 $'[11:-2]
import sys, os, traceback, re import sys, os, traceback, re
from Globals import DTMLFile, MessageDialog from Globals import DTMLFile, MessageDialog
...@@ -359,8 +359,6 @@ class PythonScript(Script, Historical, Cacheable): ...@@ -359,8 +359,6 @@ class PythonScript(Script, Historical, Cacheable):
manage_proxyForm = DTMLFile('www/pyScriptProxy', globals()) manage_proxyForm = DTMLFile('www/pyScriptProxy', globals())
def manage_proxy(self, roles=(), REQUEST=None): def manage_proxy(self, roles=(), REQUEST=None):
"Change Proxy Roles" "Change Proxy Roles"
if not roles:
raise ValueError, 'You must select one or more proxy roles.'
self._validateProxy(roles) self._validateProxy(roles)
self._validateProxy() self._validateProxy()
self.ZCacheable_invalidate() self.ZCacheable_invalidate()
......
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