Changed some code in the verification utils to provide support for python 2.6.