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
11f0e742
Commit
11f0e742
authored
May 05, 1997
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Worked around weird problem where python didnt want to assign to
__name__ in RemoteMethod's __init__
parent
c30ec163
Changes
1
Show 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 @
11f0e742
"""Bobo call interface"""
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
import
sys
,
regex
from
httplib
import
HTTP
...
...
@@ -103,7 +103,8 @@ class RemoteMethod:
while url[-1:]=='
/
': url=url[:-1]
self.url=url
self.headers={}
self.func_name=self.__name__=url[rfind(url,'
/
')+1:]
self.func_name=url[rfind(url,'
/
')+1:]
self.__dict__['
__name__
']=self.func_name
self.func_defaults=()
self.args=args
...
...
@@ -253,6 +254,10 @@ if __name__ == "__main__": main()
#
# $Log: Client.py,v $
# Revision 1.9 1997/05/05 21:58:20 brian
# Worked around weird problem where python didnt want to assign to
# __name__ in RemoteMethod'
s
__init__
#
# Revision 1.8 1997/04/29 16:23:27 brian
# Added logic to work with the pcgi-wrapper - bci.NotAvailable will be raised
# by a RemoteMethod if the remote host is not reachable from a network problem
...
...
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