Commit 11200d50 authored by Fred Drake's avatar Fred Drake

Fix buggy example -- this didn't account for the handler object.

parent 8935d030
......@@ -954,7 +954,7 @@ except NameError:
mydir = os.path.dirname(os.path.abspath(myfile))
schema = ZConfig.loadSchema(os.path.join(mydir, 'schema.xml'))
conf = ZConfig.loadConfig(schema, sys.argv[1])
conf, handler = ZConfig.loadConfig(schema, sys.argv[1])
\end{verbatim}
If the schema file contained this schema:
......
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