Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
9aa8feee
Commit
9aa8feee
authored
Aug 03, 2001
by
Evan Simpson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix copy from history
parent
8adfb04d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
lib/python/OFS/History.py
lib/python/OFS/History.py
+8
-6
No files found.
lib/python/OFS/History.py
View file @
9aa8feee
...
...
@@ -84,11 +84,11 @@
##############################################################################
"""Object Histories"""
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
import
Globals
,
ndiff
,
ExtensionClass
from
DateTime
import
DateTime
from
Acquisition
import
Implicit
from
Acquisition
import
Implicit
,
aq_base
from
string
import
join
,
split
,
atoi
,
strip
from
struct
import
pack
,
unpack
from
cgi
import
escape
...
...
@@ -213,10 +213,12 @@ class Historical(ExtensionClass.Base):
self
.
manage_beforeHistoryCopy
()
state
=
self
.
_p_jar
.
oldstate
(
self
,
serial
)
# Scrub the object before restoring the old state
self
.
_p_changed
=
0
self
.
_p_deactivate
()
self
.
__setstate__
(
state
)
self
.
_p_changed
=
1
base
=
aq_base
(
self
)
base
.
_p_changed
=
0
base
.
_p_deactivate
()
base
.
__setstate__
(
state
)
base
.
_p_changed
=
1
self
.
manage_afterHistoryCopy
()
if
RESPONSE
is
not
None
and
URL1
is
not
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment