[python] Revert wrong code to avoid overwrite customized code when generation-subdir is set #3466
auto-microsoft-revert-wrong-code was force-pushed and no longer has any new commits.
Pushing new commits will allow the pull request to be re-opened.
Pushing new commits will allow the pull request to be re-opened.