diff orpg/mapper/map_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
line wrap: on
line diff
--- a/orpg/mapper/map_msg.py	Tue Jul 21 05:34:16 2009 -0500
+++ b/orpg/mapper/map_msg.py	Sat Jul 25 17:24:40 2009 -0500
@@ -86,7 +86,8 @@
                     continue
         else:
             self.p_lock.release()
-            raise Exception, "Error attempting to initialize a " + self.tagname + " from a non-<" + self.tagname + "/> element"
+            raise Exception, 
+                "Error attempting to initialize a " + self.tagname + " from a non-<" + self.tagname + "/> element"
         self.p_lock.release()
 
     def set_from_dom(self,xml_dom):
@@ -123,7 +124,8 @@
                     continue
         else:
             self.p_lock.release()
-            raise Exception, "Error attempting to set a " + self.tagname + " from a non-<" + self.tagname + "/> element in map"
+            raise Exception, 
+                "Error attempting to set a " + self.tagname + " from a non-<" + self.tagname + "/> element in map"
         self.p_lock.release()
 
     def get_all_xml(self, action="new", output_action=1):