python: Remove unnecessary semicolon