diff --git a/lib/entropy/db/mysql.py b/lib/entropy/db/mysql.py index a162f0809..98fd54e4a 100644 --- a/lib/entropy/db/mysql.py +++ b/lib/entropy/db/mysql.py @@ -124,10 +124,7 @@ class MySQLCursorWrapper: return self def __iter__(self): - return self - - def next(self): - return self._proxy_call(self._cur.next, [], {}) + return iter(self._cur) @property def lastrowid(self):