cmds.keyTangent(inTangentType and outTangentType) deleted the outTangentType only so it won't mess up with the original animation curve, only affecting those that -1 and below...