BUG: Fix print functions in igenerator.py.

Change-Id: I18e0505355dfbea05c61776b901655755c9c2f2c
Merge topic 'igenerator-print'

637f0ec9 BUG: Fix print functions in igenerator.py.