Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mod: Replaced python2 usage of next() #7183

Merged
merged 1 commit into from Jul 13, 2022
Merged

Conversation

kamocat
Copy link
Contributor

@kamocat kamocat commented Jul 13, 2022

iterator.next() is deprecated in python3.
next(iterator) is the direct replacement.
A for() loop made more sense for import IFCmulticore.py where we were looping through the whole list anyway


iterator.next() is deprecated in python3.
next(iterator) is the direct replacement.
In some cases a for() loop makes more sense
@github-actions github-actions bot added WB Arch Related to the Arch Workbench WB FEM Related to the FEM Workbench labels Jul 13, 2022
@berndhahnebach
Copy link
Contributor

pipeline status for feature branch PR_7183. Pipeline 587195452 was triggered at 276c957. All CI branches and pipelines.

@donovaly donovaly merged commit cf27c91 into FreeCAD:master Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WB Arch Related to the Arch Workbench WB FEM Related to the FEM Workbench
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants