diff mez_xml.py @ 5:d310e097c6de tip

Replace & with &
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 02 Feb 2014 22:12:15 +0800
parents 3679d2d8443a
children
line wrap: on
line diff
--- a/mez_xml.py	Fri Oct 29 17:49:10 2010 +0800
+++ b/mez_xml.py	Sun Feb 02 22:12:15 2014 +0800
@@ -25,7 +25,7 @@
 	self.dig()
 	self.output_cmd_line('def __init__(self, ofo):')
 	self.dig()
-	self.output_cmd_line('super(%s, self).__init__()' % (self.cname,))
+	self.output_cmd_line('super(self.__class__, self).__init__()')
 	self.output_cmd_line('self.ofo = ofo')
 	self.output_cmd_line('pass')
 	self.back()