scour.py: Use named constants rather than literal integers for `nodeType'
Created by: mfwitten
The code used to look like this:
if child.nodeType == 1:
...
Now, the code looks like this:
if child.nodeType == Node.ELEMENT_NODE:
...
Created by: mfwitten
The code used to look like this:
if child.nodeType == 1:
...
Now, the code looks like this:
if child.nodeType == Node.ELEMENT_NODE:
...
Help | Imprint | Privacy policy | Accessibility | Contact