build_style/python-module: simplify and fix an obvious error.