Fix for python 3.x

Fix for python 3.x

QA Notes:
Testing Done: Verified with Python 3.3.2 and 2.7
Documentation Notes:
Bug Number:
Reviewed by:
Approved by:
Mailto: