Clear velocity/momentum script for 2.49?

Hey there python coders. Does anyone know or have a good python script for blender 2.49 that clears the velocity/momentum of a given object?

cube = GameLogic.getCurrentScene().objects[“OBCube”]
cube.setVelocity(0, 0, 0)