summaryrefslogtreecommitdiff
path: root/sandbox/richard/pythonpoint/pythonpoint.py
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/richard/pythonpoint/pythonpoint.py')
-rw-r--r--sandbox/richard/pythonpoint/pythonpoint.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sandbox/richard/pythonpoint/pythonpoint.py b/sandbox/richard/pythonpoint/pythonpoint.py
index d2c0b9418..8854ae114 100644
--- a/sandbox/richard/pythonpoint/pythonpoint.py
+++ b/sandbox/richard/pythonpoint/pythonpoint.py
@@ -46,10 +46,10 @@ class DumbPythonPointFormatter(nodes.NodeVisitor):
'</presentation>\n')
def visit_section(self, node):
- if node.attributes.has_key('dupname'):
- name = node.attributes['dupname']
+ if node['names']:
+ name = node.attributes['names'][0]
else:
- name = node.attributes['name']
+ name = node.attributes['dupnames'][0]
self.slidenum += 1
self.w('<slide id="Slide%03d" title="%s">\n'
'<frame x="90" y="72" width="600" height="432" leftmargin="12"'