Fix bug in prepare_input_source (patched by Paul P., sourceforge.net down

now, so can't find number).
This commit is contained in:
Lars Gustäbel 2000-10-24 15:53:12 +00:00
parent cfd3bd838c
commit 4ced5e7675
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ def prepare_input_source(source, base = ""):
source = xmlreader.InputSource()
source.setByteStream(f)
if hasattr(f, "name"):
f.setSystemId(f.name)
source.setSystemId(f.name)
if source.getByteStream() is None:
sysid = source.getSystemId()