This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-python.git

commit 47a68f1d44a6de4143dc2e86014425cee8d8aa1a
Author: Jiri Daněk <jda...@redhat.com>
AuthorDate: Thu Apr 13 20:19:31 2023 +0200

    QPID-8631: use `next()` to progress the iterator in dom.py, so that 
setup.py runs
---
 mllib/dom.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mllib/dom.py b/mllib/dom.py
index 4762087..49ba0d0 100644
--- a/mllib/dom.py
+++ b/mllib/dom.py
@@ -244,7 +244,7 @@ class Flatten(View):
     sources = [iter(self.source)]
     while sources:
       try:
-        nd = sources[-1].next()
+        nd = next(sources[-1])
         if isinstance(nd, Tree):
           sources.append(iter(nd.children))
         else:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to