comparison orpg/orpg_xml.py @ 195:b633f4c64aae alpha

Traipse Alpha 'OpenRPG' {100219-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 (Patch-2) New Features: New Namespace method with two new syntaxes Fixes: Fix to Server GUI startup errors Fix to Server GUI Rooms tab updating Fix to Chat and Settings if non existant die roller is picked Fix to Dieroller and .open() used with .vs(). Successes are correctly calculated Fix to Alias Lib's Export to Tree, Open, Save features Fix to alias node, now works properly Fix to Splitter node, minor GUI cleanup
author sirebral
date Sat, 24 Apr 2010 08:37:20 -0500
parents 37d26a98883f
children 24769389a7ba
comparison
equal deleted inserted replaced
182:4b2884f29a72 195:b633f4c64aae
19 # 19 #
20 # File: orpg_xml.py 20 # File: orpg_xml.py
21 # Author: Chris Davis 21 # Author: Chris Davis
22 # Maintainer: 22 # Maintainer:
23 # Version: 23 # Version:
24 # $Id: orpg_xml.py,v 1.12 2007/07/19 20:33:10 digitalxero Exp $ 24 # $Id: orpg_xml.py,v Traipse 'Ornery-Orc' prof.ebral Exp $
25 # 25 #
26 # Description: xml utilies 26 # Description: xml utilies
27 # 27 #
28 28
29 from orpg import minidom 29 from orpg import minidom
30 import string 30 import string
31
32 from orpg.tools.orpg_log import logger, debug 31 from orpg.tools.orpg_log import logger, debug
33 32
34 class xml: 33 class xml:
35 debug('Deprecated call to orpg_xml!!') 34 debug('Developers note. Deprecated call to orpg_xml!!')
36 def __init__(self): 35 def __init__(self):
37 pass 36 pass
38 37
39 def toxml(self, root, pretty=0): 38 def toxml(self, root, pretty=0):
40 return root.toxml(pretty) 39 return root.toxml(pretty)