Remove an unused variable in e2e

This commit is contained in:
louiz’
2016-10-21 01:00:52 +02:00
parent 479708c83e
commit 4388b9c311
+1 -1
View File
@@ -129,7 +129,7 @@ def match(stanza, xpath):
def check_xpath(xpaths, xmpp, after, stanza):
for i, xpath in enumerate(xpaths):
for xpath in enumerate(xpaths):
matched = match(stanza, xpath)
if not matched:
raise StanzaError("Received stanza “%s” did not match expected xpath “%s”" % (stanza, xpath))