Thanks! I thought that the RefactoringTool: was taking care of that.
Isn't the 2to3 run automatically on the test python files too? 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? 2016-07-01 12:15 GMT+02:00 Matthias Kuhn <[email protected]>: > Hi Alessandro > > > On 07/01/2016 11:59 AM, Alessandro Pasotti wrote: > > Hi, > > > > I'm trying to adapt a test to Py3/Qt5 and I get this odd error: > > > > AttributeError: 'QgsFeatureIterator' object has no attribute 'next' > > > ./scripts/2to3 > > is your friend > > http://stackoverflow.com/a/12274637/2319028 > > Matthias > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Alessandro Pasotti w3: www.itopen.it
_______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
