Fix the broken commit 4388b9c
This commit is contained in:
1 parent
82a6fa6d09
commit
ac32d25738
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user