use next(generator) instead of generator.next(), make python3 happy
use next(generator) instead of generator.next(), make python3 happy

arnehilmann/sunstone-rest-client,arnehilmann/sunstone-rest-client