svn path=/trunk/boinc/; revision=18838

This commit is contained in:
David Anderson 2009-08-13 18:18:32 +00:00
parent 6b36764b65
commit 69e363df2f
1 changed files with 2 additions and 2 deletions

View File

@ -120,9 +120,9 @@ class XMLConfig:
return self
def read(self, failopen_ok=False):
"""Read the XML object's file source and return self."""
if failopen_ok and not os.path.exists(self.filename)
if failopen_ok and not os.path.exists(self.filename):
self._init_empty_xml()
return self;
return self
try:
self.xml = xml.dom.minidom.parse(self.filename)
strip_white_space(self.xml)