Commit 5551dae8 authored by Jim Fulton's avatar Jim Fulton

Added a marker to Prefix to make it valid for sending as

a pickle to the ZEO Storage server.
parent 7b8317ff
...@@ -85,8 +85,8 @@ ...@@ -85,8 +85,8 @@
__doc__='''short description __doc__='''short description
$Id: Undo.py,v 1.18 1999/12/02 00:43:34 jim Exp $''' $Id: Undo.py,v 1.19 2000/05/09 19:06:39 jim Exp $'''
__version__='$Revision: 1.18 $'[11:-2] __version__='$Revision: 1.19 $'[11:-2]
import Globals, ExtensionClass import Globals, ExtensionClass
from DateTime import DateTime from DateTime import DateTime
...@@ -163,6 +163,9 @@ class UndoSupport(ExtensionClass.Base): ...@@ -163,6 +163,9 @@ class UndoSupport(ExtensionClass.Base):
Globals.default__class_init__(UndoSupport) Globals.default__class_init__(UndoSupport)
class Prefix: class Prefix:
__no_side_effects__=1
def __init__(self, v): def __init__(self, v):
self.value=len(v), v self.value=len(v), v
......
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