Project

General

Profile

Actions

Bug #20602

closed

rpm python API incompatible in python3

Added by Alexis Mousset almost 3 years ago. Updated almost 3 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

AttributeError: 'rpm.mi' object has no attribute 'next'

rpm.mi (among other rpm data types) supports the Python iterable interface. Iteration has changed between Python 2 and Python 3 and now uses .__next__() instead of .next(). Please update your documentation for reflect this.

Actions

Also available in: Atom PDF