pioneerspacesim/pioneer — pull request #723 by johnbartholomew (2011-10-25 22:22:02+00:00)
Title: Fix scan_enums.py to work with Python 3

Code was mostly version-agnostic anyway (it's very simple). This just replaces a use of the `next()` method with a use of the `next()` free function, which was added in Python 2.6 and works in Python 3.

This fix works for me (script runs with 2.6.5 and 3.1.2).