Open graph editor, selact alla nimation keys and scale them! You can then proceed to undo this and look what maya actualy promped in the script editor copypaste it to set precice scale valeues instead!
I could offcourse tell you the code outright but id rather have you learn how to exploit mayas scripting capability yourself!