<div dir="ltr"><div><div><div><div>Thanks!<br><br></div>I thought that the RefactoringTool: was taking care of that.<br><br></div>Isn't the 2to3 run automatically on the test python files too? <br><br></div>In my case the error was not directly in a test but in a file imported by a test: offlineditingtestbase.py is that the reason why it was not refactored?<br></div><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-01 12:15 GMT+02:00 Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias@opengis.ch" target="_blank">matthias@opengis.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alessandro<br>
<span class=""><br>
<br>
On 07/01/2016 11:59 AM, Alessandro Pasotti wrote:<br>
> Hi,<br>
><br>
> I'm trying to adapt a test to Py3/Qt5 and I get this odd error:<br>
><br>
> AttributeError: 'QgsFeatureIterator' object has no attribute 'next'<br>
<br>
<br>
</span>    ./scripts/2to3<br>
<br>
is your friend<br>
<br>
<a href="http://stackoverflow.com/a/12274637/2319028" rel="noreferrer" target="_blank">http://stackoverflow.com/a/12274637/2319028</a><br>
<br>
Matthias<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div>