コード例 #1
0
 def start_map(self, attrs):
     # ignore maps without names
     if attrs.has_key('name'):
         from ImageMap import MapInfo
         self.current_map = MapInfo(attrs['name'])
     else:
         self.badhtml = 1