Skip to content

Commit 29516bf

Browse files
committed
tweaks
1 parent 1418fa5 commit 29516bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wsdiscovery/message.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ def parseSOAPMessage(data, ipAddr):
3131
try:
3232
dom = minidom.parseString(data)
3333
except Exception as ex:
34-
logger.debug('Failed to parse message from %s\n"%s": %s', ipAddr, data, ex)
34+
logger.debug('Failed to parse message from %s\n%s: %s', ipAddr, data, ex)
3535
return None
3636

3737
if dom.getElementsByTagNameNS(NS_SOAPENV, "Fault"):
38-
logger.debug('Fault received from %s: "%s"', ipAddr, data)
38+
logger.debug('Fault received from %s: %s', ipAddr, data)
3939
return None
4040

4141
actions = dom.getElementsByTagNameNS(NS_ADDRESSING, "Action")
4242
if len(actions) == 0:
43-
logger.warning('No action received from %s: "%s"', ipAddr, data)
43+
logger.warning('No action received from %s: %s', ipAddr, data)
4444
return None
4545

4646
soapAction = actions[0].firstChild.data.strip()

0 commit comments

Comments
 (0)