Skip to content

Commit

Permalink
fix stack trace spew caused by some routers' UPnP implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestv committed Feb 10, 2014
1 parent 759aa69 commit 5ee3172
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SOAPpy/Parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,8 @@ def _parseSOAP(xml_str, rules = None):
# turn on namespace mangeling
parser.setFeature(xml.sax.handler.feature_namespaces,1)

parser.setFeature(xml.sax.handler.feature_external_ges, 0)

try:
parser.parse(inpsrc)
except xml.sax.SAXParseException, e:
Expand Down

0 comments on commit 5ee3172

Please sign in to comment.