[Libcloud-589] correcting linting and py3 issue.