getOwner in 2.5

Hey guys,

how does getOwner work in Blender 2.5? I tried to import my old script from 2.49, but I am getting error at:

cont = GameLogic.getCurrentController()
own = cont.getOwner()

error: “SCA_PythonController” object has no attribute “getOwner”

also, is there any kind of a list with changes between Python usage in 2.49 and 2.5?

Thank you in advance

As is shown in the terminal in 2.49, .getOwner() is deprecated. Use own = cont.owner instead.