remove unused import (util). do not re-import from minidom, use mdom instead (xmlfile).

This commit is contained in:
Barış Metin
2005-08-05 03:24:24 +00:00
parent 6513885ed4
commit 6945cd0089
2 changed files with 1 additions and 3 deletions
-1
View File
@@ -19,7 +19,6 @@
# standard python modules
import os
import sys
import sha
import shutil
import statvfs
+1 -2
View File
@@ -35,8 +35,7 @@ class XmlFile(object):
def newDOM(self):
"""clear DOM"""
from xml.dom.minidom import getDOMImplementation
impl = getDOMImplementation()
impl = mdom.getDOMImplementation()
self.dom = impl.createDocument(None, self.rootTag, None)
def unlink(self):