diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2014-06-13 20:31:11 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2014-06-13 20:31:11 +0200 |
commit | 835ecc03681383e76b6338240c2ce06ae6ecbcf2 (patch) | |
tree | 0f85c3f9b6908c7a49d73128190b05e7597fdaaa /format.py | |
parent | 84c51f33d29c6009e817aa53f59ca170658e023a (diff) | |
download | clufter-835ecc03681383e76b6338240c2ce06ae6ecbcf2.tar.gz clufter-835ecc03681383e76b6338240c2ce06ae6ecbcf2.tar.xz clufter-835ecc03681383e76b6338240c2ce06ae6ecbcf2.zip |
xml_utils: make rng_pivot return "starting" definition
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'format.py')
-rw-r--r-- | format.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -499,7 +499,8 @@ class XML(SimpleFormat): log.warning("Problem processing RNG file `{0}'".format(s)) continue if start is not None: - schema = rng_pivot(deepcopy(schema), start) + schema = deepcopy(schema) + rng_pivot(schema, start) try: schema.assertValid(et) except etree.DocumentInvalid: |