revert previous commit. toprettyxml is not working properly

git-svn-id: svn+ssh:// bfe161da-02ef-4cea-8c43-ae261ea21ac6
This commit is contained in:
nedko 2008-11-30 14:24:55 +00:00
parent ea3dc9e312
commit 4ee1f7ac33
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@
import xml.dom
from xml.dom.minidom import parse, getDOMImplementation
from xml.dom.ext import PrettyPrint
# Let's make sure we'll place the file in an existing dir
from os import environ, sep, mkdir
@ -129,4 +130,4 @@ class config:
# Use this when you want to write the config file to disk
def save(self):
config_file = open(config_filename, 'w')
PrettyPrint(self.doc, config_file)