fix error on py3.2

Signed-off-by: Hiroshi Miura <miurahr@linux.com>