ValueError does not have message attribute in Py3k