diff options
Diffstat (limited to 'Mailman/bin/import.py')
| -rw-r--r-- | Mailman/bin/import.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/bin/import.py b/Mailman/bin/import.py index 68876def1..b643de389 100644 --- a/Mailman/bin/import.py +++ b/Mailman/bin/import.py @@ -48,12 +48,12 @@ def nodetext(node): return u'' -def nodegen(node, *entities): +def nodegen(node, *elements): for child in node.childNodes: if child.nodeType <> minidom.Node.ELEMENT_NODE: continue - if entities and child.tagName not in entities: - print _('Ignoring unexpected entity: $node.tagName') + if elements and child.tagName not in elements: + print _('Ignoring unexpected element: $node.tagName') else: yield child |
