Commit ac32d257 authored by louiz’'s avatar louiz’

Fix the broken commit 4388b9c3

parent 82a6fa6d
......@@ -129,7 +129,7 @@ def match(stanza, xpath):
def check_xpath(xpaths, xmpp, after, stanza):
for xpath in enumerate(xpaths):
for xpath in xpaths:
matched = match(stanza, xpath)
if not matched:
raise StanzaError("Received stanza “%s” did not match expected xpath “%s”" % (stanza, xpath))
......
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