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
262a8f8c
Commit
262a8f8c
authored
Jan 08, 2006
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes
parent
f2ef0f2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
lib/python/ZServer/HTTPServer.py
lib/python/ZServer/HTTPServer.py
+0
-1
lib/python/ZServer/utils.py
lib/python/ZServer/utils.py
+1
-2
No files found.
lib/python/ZServer/HTTPServer.py
View file @
262a8f8c
...
@@ -58,7 +58,6 @@ from ZServer import requestCloseOnExec
...
@@ -58,7 +58,6 @@ from ZServer import requestCloseOnExec
import
DebugLogger
import
DebugLogger
from
medusa
import
logger
from
medusa
import
logger
register_subsystem
(
'ZServer HTTPServer'
)
CONTENT_LENGTH
=
re
.
compile
(
'Content-Length: ([0-9]+)'
,
re
.
I
)
CONTENT_LENGTH
=
re
.
compile
(
'Content-Length: ([0-9]+)'
,
re
.
I
)
CONNECTION
=
re
.
compile
(
'Connection: (.*)'
,
re
.
I
)
CONNECTION
=
re
.
compile
(
'Connection: (.*)'
,
re
.
I
)
...
...
lib/python/ZServer/utils.py
View file @
262a8f8c
...
@@ -24,7 +24,6 @@ def patchAsyncoreLogger():
...
@@ -24,7 +24,6 @@ def patchAsyncoreLogger():
from
logging
import
getLogger
from
logging
import
getLogger
LOG
=
getLogger
(
'ZServer'
)
LOG
=
getLogger
(
'ZServer'
)
register_subsystem
(
'ZServer'
)
def
log_info
(
self
,
message
,
type
=
'info'
):
def
log_info
(
self
,
message
,
type
=
'info'
):
if
message
[:
14
]
==
'adding channel'
or
\
if
message
[:
14
]
==
'adding channel'
or
\
...
@@ -32,7 +31,7 @@ def patchAsyncoreLogger():
...
@@ -32,7 +31,7 @@ def patchAsyncoreLogger():
message
==
'Computing default hostname'
:
message
==
'Computing default hostname'
:
LOG
.
debug
(
message
)
LOG
.
debug
(
message
)
else
:
else
:
getattr
(
LOG
,
severity
)(
message
)
getattr
(
LOG
,
type
)(
message
)
import
asyncore
import
asyncore
asyncore
.
dispatcher
.
log_info
=
log_info
asyncore
.
dispatcher
.
log_info
=
log_info
...
...
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