# Copyright 2004-2005 James Bunton <james@delx.cjb.net>
# Licensed for distribution under the GPL version 2, check COPYING for details
-from tlib import xmlw
+from twisted.words.xish.domish import parseFile
import sys, os
# Get ourself a DOM
try:
- root = xmlw.parseFile(configFile)
+ root = parseFile(configFile)
except Exception, e:
invalidError("Error parsing configuration file: " + str(e))