Remove an unused variable in e2e
This commit is contained in:
1 parent
479708c83e
commit
4388b9c311
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user