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
88b382e1
Commit
88b382e1
authored
Apr 04, 2001
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed an assumption about trailing 'L' on long conversion
parent
4ad03aa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lib/python/webdav/client.py
lib/python/webdav/client.py
+5
-2
No files found.
lib/python/webdav/client.py
View file @
88b382e1
"""HTTP 1.1 / WebDAV client library."""
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
5
$'
[
11
:
-
2
]
import
sys
,
os
,
string
,
regex
,
time
,
types
import
socket
,
httplib
,
mimetools
...
...
@@ -435,7 +435,10 @@ def marshal_int(name, val):
return '
%
s
:
int
=%
s
' % (name, val)
def marshal_long(name, val):
return ('
%
s
:
long
=%
s
' % (name, val))[:-1]
value = '
%
s
:
long
=%
s
' % (name, val)
if value[-1] == '
L
':
value = value[:-1]
return value
def marshal_list(name, seq, tname='
list
', lt=type([]), tt=type(())):
result=[]
...
...
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