Change exception message to msg to stop python 2.6 deprication warning