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
10c95267
Commit
10c95267
authored
Sep 25, 1997
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug
parent
7d3645f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
lib/python/App/Undo.py
lib/python/App/Undo.py
+11
-6
No files found.
lib/python/App/Undo.py
View file @
10c95267
...
...
@@ -11,8 +11,8 @@
__doc__
=
'''short description
$Id: Undo.py,v 1.
1 1997/09/23 00:08:43 jim
Exp $'''
__version__
=
'$Revision: 1.
1
$'
[
11
:
-
2
]
$Id: Undo.py,v 1.
2 1997/09/25 21:03:50 brian
Exp $'''
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
import
Globals
from
DateTime
import
DateTime
...
...
@@ -42,8 +42,11 @@ class UndoSupport:
r
=
[]
add
=
r
.
append
h
=
[
''
,
''
]
for
info
in
db
.
transaction_info
(
first_transaction
,
last_transaction
,
path
):
try
:
trans_info
=
db
.
transaction_info
(
first_transaction
,
last_transaction
,
path
)
except
:
trans_info
=
[]
for
info
in
trans_info
:
[
path
,
user
]
=
(
split
(
info
[
2
],
' '
)
+
h
)[:
2
]
add
(
{
'pos'
:
info
[
0
],
...
...
@@ -54,8 +57,7 @@ class UndoSupport:
'path'
:
path
,
'desc'
:
info
[
3
],
})
return
r
return
r
or
[]
def
manage_undo_transactions
(
self
,
transaction_info
,
REQUEST
):
"""
...
...
@@ -76,6 +78,9 @@ class UndoSupport:
##############################################################################
#
# $Log: Undo.py,v $
# Revision 1.2 1997/09/25 21:03:50 brian
# Fixed bug
#
# Revision 1.1 1997/09/23 00:08:43 jim
# *** empty log message ***
#
...
...
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