# HG changeset patch # User prock@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1277753333 0 # Node ID 466d76db97018b7b1f2db2ce84d9688ac79b32d3 # Parent bfbf329e1da8243448c3f91c298c29b5396c4a6d Some small code cleanups in the extensions. The SimpleXMLSerializer now makes use of exceptions. diff -r bfbf329e1da8 -r 466d76db9701 engine/python/fife/extensions/__init__.py --- a/engine/python/fife/extensions/__init__.py Mon Jun 28 18:43:03 2010 +0000 +++ b/engine/python/fife/extensions/__init__.py Mon Jun 28 19:28:53 2010 +0000 @@ -5,10 +5,12 @@ 'fife_compat', 'fife_timer', 'fife_utils', + 'fife_settings', 'fifelog', 'filebrowser', 'pythonize', 'savers', + 'loaders', 'soundmanager', 'fife_math' ] diff -r bfbf329e1da8 -r 466d76db9701 engine/python/fife/extensions/fife_settings.py --- a/engine/python/fife/extensions/fife_settings.py Mon Jun 28 18:43:03 2010 +0000 +++ b/engine/python/fife/extensions/fife_settings.py Mon Jun 28 19:28:53 2010 +0000 @@ -40,11 +40,6 @@ from fife.extensions.fife_utils import getUserDataDirectory from fife.extensions.serializers.simplexml import SimpleXMLSerializer -try: - import xml.etree.cElementTree as ET -except: - import xml.etree.ElementTree as ET - SETTINGS_GUI_XML="""\