Fix old Python syntax.
Merge branch 'fix-one-result' into devel