Commit 4ced5e76 authored by Lars Gustäbel's avatar Lars Gustäbel

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

now, so can't find number).
parent cfd3bd83
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment