Fixed python style errors.