Python 3 compatibility fixes.
Python 3 compatibility fixes.

Change-Id: Iffa6bead9b990b7d00aee143f65d95b393e45fe4

openstack-infra/git-review,meelapshah/git-review,entropia1/git-review,ka2m/git-review,jeeloo/git-review,meelapshah/git-review