Fixed Python scripting (broken by renaming).
Authored by: knut_f 2007-07-08
Parent: [r658]
Child: [r660]