comparison orpg/mapper/miniatures_msg.py @ 19:78407d627cba traipse_dev

Beginning of Code Clean-up. Some code untested, may break!
author sirebral
date Sat, 25 Jul 2009 17:24:40 -0500
parents 4385a7d0efd1
children 072ffc1d466f
comparison
equal deleted inserted replaced
18:67b900deb35c 19:78407d627cba
115 if self.children.has_key(id): 115 if self.children.has_key(id):
116 self.children[id].init_props(mini.get_all_props()) 116 self.children[id].init_props(mini.get_all_props())
117 117
118 else: 118 else:
119 self.p_lock.release() 119 self.p_lock.release()
120 raise Exception, "Error attempting to initialize a " + self.tagname + " from a non-<" + self.tagname + "/> element" 120 raise Exception,
121 "Error attempting to initialize a " + self.tagname + " from a non-<" + self.tagname + "/> element"
121 self.p_lock.release() 122 self.p_lock.release()
122 123
123 124
124 125
125 def set_from_dom(self,xml_dom): 126 def set_from_dom(self,xml_dom):