Mercurial > traipse_dev
comparison orpg/orpg_xml.py @ 227:81d0bfd5e800 alpha
Traipse Alpha 'OpenRPG' {100612-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 (Preparing to close updates)
New Features:
New to Map, can re-order Grid, Miniatures, and Whiteboard layer draw order
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
author | sirebral |
---|---|
date | Sat, 12 Jun 2010 03:50:37 -0500 |
parents | 37d26a98883f |
children |
comparison
equal
deleted
inserted
replaced
182:4b2884f29a72 | 227:81d0bfd5e800 |
---|---|
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!!'), parents=True) |
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) |