Skip to content

Commit

Permalink
merge from 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Jan 23, 2001
1 parent b166514 commit af85e28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PythonScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
Python code.
"""

__version__='$Revision: 1.18 $'[11:-2]
__version__='$Revision: 1.19 $'[11:-2]

import sys, os, traceback, re
from Globals import DTMLFile, MessageDialog
Expand Down Expand Up @@ -359,6 +359,8 @@ def _validateProxy(self, roles=None):
manage_proxyForm = DTMLFile('www/pyScriptProxy', globals())
def manage_proxy(self, roles=(), REQUEST=None):
"Change Proxy Roles"
if not roles:
raise ValueError, 'You must select one or more proxy roles.'
self._validateProxy(roles)
self._validateProxy()
self.ZCacheable_invalidate()
Expand Down

0 comments on commit af85e28

Please sign in to comment.