Python 3: drop usage of iter.next()
To support both Python 3 and 2, use next(iter) or iter.__next__()
Signed-off-by: NHaotong Chen <hachen@redhat.com>
Showing
想要评论请 注册 或 登录
To support both Python 3 and 2, use next(iter) or iter.__next__()
Signed-off-by: NHaotong Chen <hachen@redhat.com>