vishesh92 commented on code in PR #13207: URL: https://github.com/apache/cloudstack/pull/13207#discussion_r3280128225
########## debian/cloudstack-common.postinst: ########## @@ -21,12 +21,12 @@ set -e CLOUDUTILS_DIR="/usr/share/pyshared/" DIST_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))") -if which pycompile >/dev/null 2>&1; then - pycompile -p cloudstack-common +if which py3compile >/dev/null 2>&1; then + py3compile -p cloudstack-common fi -if which pycompile >/dev/null 2>&1; then - pycompile -p cloudstack-common /usr/share/cloudstack-common +if which py3compile >/dev/null 2>&1; then + py3compile -p cloudstack-common /usr/share/cloudstack-common Review Comment: `dhcpd_edithosts.py` is for baremetal plugin which is no longer in use. ########## debian/cloudstack-common.postinst: ########## @@ -21,12 +21,12 @@ set -e CLOUDUTILS_DIR="/usr/share/pyshared/" DIST_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))") -if which pycompile >/dev/null 2>&1; then - pycompile -p cloudstack-common +if which py3compile >/dev/null 2>&1; then Review Comment: this should be fine. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
