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
d3cd20ed
Commit
d3cd20ed
authored
Apr 16, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repr now shows URL on Not Found.
parent
21938926
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
lib/python/ZPublisher/Client.py
lib/python/ZPublisher/Client.py
+7
-2
No files found.
lib/python/ZPublisher/Client.py
View file @
d3cd20ed
"""Bobo call interface"""
"""Bobo call interface"""
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
import
sys
,
regex
import
sys
,
regex
from
httplib
import
HTTP
from
httplib
import
HTTP
...
@@ -86,7 +86,9 @@ class RemoteException:
...
@@ -86,7 +86,9 @@ class RemoteException:
self.http_message=http_msg
self.http_message=http_msg
self.response =http_resp
self.response =http_resp
def __repr__(self): return repr(self.exc_value)
def __repr__(self):
return '
%
s
\
n
%
s
%
s
for
%
s
' % (self.exc_value,self.http_code,
self.http_message,self.url)
...
@@ -243,6 +245,9 @@ if __name__ == "__main__": main()
...
@@ -243,6 +245,9 @@ if __name__ == "__main__": main()
#
#
# $Log: Client.py,v $
# $Log: Client.py,v $
# Revision 1.5 1997/04/16 21:56:27 jim
# repr now shows URL on Not Found.
#
# Revision 1.4 1997/04/12 17:18:18 jim
# Revision 1.4 1997/04/12 17:18:18 jim
# Many wonderous changes by Brian.
# Many wonderous changes by Brian.
#
#
...
...
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