Commit e57dc429 authored by Jeffrey Shell's avatar Jeffrey Shell

Fixed a missing % operator in manage_beforeDelete.

parent c08f942a
......@@ -84,7 +84,7 @@
##############################################################################
"""Version object"""
__version__='$Revision: 1.45 $'[11:-2]
__version__='$Revision: 1.46 $'[11:-2]
import Globals, time
from AccessControl.Role import RoleManager
......@@ -263,7 +263,7 @@ class Version(Persistent,Implicit,RoleManager,Item):
def manage_beforeDelete(self, item, container):
if self.nonempty():
raise VersionException(
'Attempt to %sdelete a non-empty version.<p>'
'Attempt to %sdelete a non-empty version.<br />' %
((self is not item) and 'indirectly ' or ''))
try: REQUEST=self.REQUEST
......
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