diff options
| author | bwarsaw | 2007-01-05 06:47:39 +0000 |
|---|---|---|
| committer | bwarsaw | 2007-01-05 06:47:39 +0000 |
| commit | 9af2533eb89e48683c049c5007737f7e94bbcdc1 (patch) | |
| tree | 54853dcccee453eae60916af4e612b3004cc736f /Mailman/bin/import.py | |
| parent | d7da90ebc8aeee180ba470c002f7e37ef7df1089 (diff) | |
| download | mailman-9af2533eb89e48683c049c5007737f7e94bbcdc1.tar.gz mailman-9af2533eb89e48683c049c5007737f7e94bbcdc1.tar.zst mailman-9af2533eb89e48683c049c5007737f7e94bbcdc1.zip | |
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 |
