Fix the broken commit 4388b9c

This commit is contained in:
louiz’
2016-10-21 18:50:04 +02:00
parent 82a6fa6d09
commit ac32d25738
+1 -1
View File
@@ -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))