Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
jugmac00 committed May 9, 2019
1 parent 3230ed5 commit b0d19b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZPublisher/xmlrpc.py
Expand Up @@ -117,7 +117,7 @@ def is_xmlrpc_response(response):
class Response(object):
"""Customized Response that handles XML-RPC-specific details.
We override setBody to marhsall Python objects into XML-RPC. We
We override setBody to marshall Python objects into XML-RPC. We
also override exception to convert errors to XML-RPC faults.
If these methods stop getting called, make sure that ZPublisher is
Expand Down Expand Up @@ -179,7 +179,7 @@ def exception(self, fatal=0, info=None,
else:
t, v, tb = sys.exc_info()

# Don't mask 404 respnses, as some XML-RPC libraries rely on the HTTP
# Don't mask 404 responses, as some XML-RPC libraries rely on the HTTP
# mechanisms for detecting when authentication is required. Fixes Zope
# Collector issue 525.
if issubclass(t, Unauthorized):
Expand Down

0 comments on commit b0d19b1

Please sign in to comment.