summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-04-01 19:19:01 +0200
committerJan Pokorný <jpokorny@redhat.com>2014-04-01 19:21:19 +0200
commit1fb60d04eb7ee6a42bec0a589896fa22b4a59468 (patch)
tree784fd1e844aa1d9e712bfeacc1c9190bf4f49dc1
parenta867109a0fd9a9517d1f900845bddc1046219235 (diff)
downloadclufter-1fb60d04eb7ee6a42bec0a589896fa22b4a59468.tar.gz
clufter-1fb60d04eb7ee6a42bec0a589896fa22b4a59468.tar.xz
clufter-1fb60d04eb7ee6a42bec0a589896fa22b4a59468.zip
filter: reconcile _xslt_template with 017948a
...hence all unitests are passing now again Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--filter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter.py b/filter.py
index ff1e1fe..5926fde 100644
--- a/filter.py
+++ b/filter.py
@@ -480,7 +480,7 @@ class XMLFilter(Filter, MetaPlugin):
parent[parent.index(tag)] = e
ret[-1].append(snippet)
# in parallel: 2?
- for target_tag, index_history in hooks.iteritems():
+ for target_tag, (index_history, mix) in hooks.iteritems():
tag = reduce(lambda x, y: x[y], index_history, snippet)
l = scheduled_subst.setdefault(target_tag, [])
l.append(tag)