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
ba1f87e3
Commit
ba1f87e3
authored
Aug 02, 1999
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slight improvement suggested by Jim. Also fixed a doc string typo.
parent
c71953eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ZServer/HTTPServer.py
ZServer/HTTPServer.py
+3
-3
lib/python/ZServer/HTTPServer.py
lib/python/ZServer/HTTPServer.py
+3
-3
No files found.
ZServer/HTTPServer.py
View file @
ba1f87e3
...
...
@@ -312,12 +312,12 @@ class zhttp_channel(http_channel):
if
not
self
.
working
:
if
self
.
queue
:
self
.
working
=
1
module_name
,
request
,
response
=
self
.
queue
[
0
]
self
.
queue
=
self
.
queue
[
1
:]
try
:
module_name
,
request
,
response
=
self
.
queue
.
pop
(
0
)
except
:
return
handle
(
module_name
,
request
,
response
)
def
done
(
self
):
"Called when a pushing request is finished"
"Called when a pu
bli
shing request is finished"
self
.
working
=
0
self
.
work
()
...
...
lib/python/ZServer/HTTPServer.py
View file @
ba1f87e3
...
...
@@ -312,12 +312,12 @@ class zhttp_channel(http_channel):
if
not
self
.
working
:
if
self
.
queue
:
self
.
working
=
1
module_name
,
request
,
response
=
self
.
queue
[
0
]
self
.
queue
=
self
.
queue
[
1
:]
try
:
module_name
,
request
,
response
=
self
.
queue
.
pop
(
0
)
except
:
return
handle
(
module_name
,
request
,
response
)
def
done
(
self
):
"Called when a pushing request is finished"
"Called when a pu
bli
shing request is finished"
self
.
working
=
0
self
.
work
()
...
...
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