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
47f5c2ba
Commit
47f5c2ba
authored
Mar 26, 2006
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Applied patch by Yoshinori Okuji to fix some XML export/import problems
parent
12f7e5c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
lib/python/Shared/DC/xml/ppml.py
lib/python/Shared/DC/xml/ppml.py
+4
-4
No files found.
doc/CHANGES.txt
View file @
47f5c2ba
...
...
@@ -18,6 +18,9 @@ Zope Changes
Bugs fixed
- Applied patch by Yoshinori Okuji to fix some XML export/import
problems
- Collector #2037: fixed broken ACTUAL_URL for '/'
- Collector #2039: 'ZPublisher.HTTPRequest.HTTPRequest._authUserPW'
...
...
lib/python/Shared/DC/xml/ppml.py
View file @
47f5c2ba
...
...
@@ -414,14 +414,14 @@ class ToXMLUnpickler(Unpickler):
def
load_binput
(
self
):
i
=
mloads
(
'i'
+
self
.
read
(
1
)
+
'
\
000
\
000
\
000
'
)
last
=
self
.
stack
[
-
1
]
if
getattr
(
last
,
'id'
,
last
)
is
not
last
:
if
getattr
(
last
,
'id'
,
last
)
is
last
:
last
.
id
=
self
.
idprefix
+
`i`
dispatch
[
BINPUT
]
=
load_binput
def
load_long_binput
(
self
):
i
=
mloads
(
'i'
+
self
.
read
(
4
))
last
=
self
.
stack
[
-
1
]
if
getattr
(
last
,
'id'
,
last
)
is
not
last
:
if
getattr
(
last
,
'id'
,
last
)
is
last
:
last
.
id
=
self
.
idprefix
+
`i`
dispatch
[
LONG_BINPUT
]
=
load_long_binput
...
...
@@ -643,10 +643,10 @@ class xmlPickler(NoBlanks, xyap):
'pickle'
:
lambda
self
,
tag
,
attrs
:
[
tag
,
attrs
],
}
end_handlers
=
{
'pickle'
:
lambda
self
,
tag
,
data
:
data
[
2
]
+
'.'
,
'pickle'
:
lambda
self
,
tag
,
data
:
str
(
data
[
2
])
+
'.'
,
'none'
:
lambda
self
,
tag
,
data
:
'N'
,
'int'
:
save_int
,
'long'
:
lambda
self
,
tag
,
data
:
'L'
+
data
[
2
]
+
'L
\
012
'
,
'long'
:
lambda
self
,
tag
,
data
:
'L'
+
str
(
data
[
2
])
+
'L
\
012
'
,
'float'
:
save_float
,
'string'
:
save_string
,
'reference'
:
save_reference
,
...
...
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