comparison orpg/tools/InterParse.py @ 242:72e0cce81a47 beta

Traipse Beta 'OpenRPG' {100817-00} Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the productivity of the user. Update Summary (Closing/Closed) New Features: New to Map, can re-order Grid, Miniatures, and Whiteboard layer draw order New to Server GUI, can now clear log New Earthdawn Dieroller Updates: Update to Warhammer PC Sheet. Rollers set as macros. Should work with little maintanence. Update to Browser Server window. Display rooms with ' " & cleaner Update to Server. Handles ' " & cleaner Update to Dieroller. Cleaner, more effecient expression system Update to Hidden Die plugin, allows for non standard dice rolls Fixes: Fix to InterParse that was causing an Infernal Loop with Namespace Internal Fix to XML data, removed old Minidom and switched to Element Tree Fix to Server that was causing eternal attempt to find a Server ID, in Register Rooms thread Fix to metaservers.xml file not being created Fix to Single and Double quotes in Whiteboard text Fix to Background images not showing when using the Image Server Fix to Duplicate chat names appearing Fix to Server GUI's logging output Fix to FNB.COLORFUL_TABS bug Fix to Gametree for XSLT Sheets Fix to Gametree for locating gametree files Fix to Send to Chat from Gametree
author sirebral
date Tue, 17 Aug 2010 14:53:04 -0500
parents b44dad398833
children 3bbfd84619c0
comparison
equal deleted inserted replaced
241:6919a88b788c 242:72e0cce81a47
50 s = self.NameSpaceI(s, node) 50 s = self.NameSpaceI(s, node)
51 #s = self.NodeMap(s, node) 51 #s = self.NodeMap(s, node)
52 #s = self.NodeParent(s, node) 52 #s = self.NodeParent(s, node)
53 return s 53 return s
54 54
55 def Normalize(self, s, tab): 55 def Normalize(self, s, tab=False):
56 if not tab: tab = component.get('chat')
56 for plugin_fname in tab.activeplugins.keys(): 57 for plugin_fname in tab.activeplugins.keys():
57 plugin = tab.activeplugins[plugin_fname] 58 plugin = tab.activeplugins[plugin_fname]
58 try: s = plugin.pre_parse(s) 59 try: s = plugin.pre_parse(s)
59 except Exception, e: 60 except Exception, e:
60 if str(e) != "'module' object has no attribute 'post_msg'": 61 if str(e) != "'module' object has no attribute 'post_msg'":