Fix use of obsolete module

It was causing problems in Ubuntu (oldxml patch was needed)

git-svn-id: svn+ssh://svn.marcochapeau.org/laditools/trunk@203 bfe161da-02ef-4cea-8c43-ae261ea21ac6
This commit is contained in:
nedko 2008-11-30 13:23:57 +00:00
parent 6ee5d66c16
commit ea3dc9e312
1 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@
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
@ -130,4 +129,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)
config_file.write(self.doc.toprettyxml())