)]}'
{"tripleoclient/v1/tripleo_validator.py":[{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"5144ebca0f5667f902b60ef9cd9790c83dec817d","unresolved":false,"context_lines":[{"line_number":270,"context_line":"        parser.add_argument("},{"line_number":271,"context_line":"            \u0027--python-interpreter\u0027,"},{"line_number":272,"context_line":"            action\u003d\u0027store\u0027,"},{"line_number":273,"context_line":"            default\u003d\"/usr/bin/python{}\".format(sys.version_info[0]),"},{"line_number":274,"context_line":"            help\u003d_(\"Python interpreter for Ansible execution. \")"},{"line_number":275,"context_line":"        )"},{"line_number":276,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"b5e24fc2_9d415642","line":273,"updated":"2021-04-22 15:34:14.000000000","message":"can you just use the /usr/lib/system-python or whatever the system binary is that is used now? We had to add this for train because py2/py3 but I don\u0027t think this is necessary anymore","commit_id":"14824596e20622bb74dc18939c32c67158fc0c5b"},{"author":{"_account_id":27427,"name":"David Peacock","email":"dpeacock@redhat.com","username":"davidjpeacock"},"change_message_id":"b4d5f97a40f029c98b327666b7d4b8707c33b7a9","unresolved":true,"context_lines":[{"line_number":269,"context_line":"        parser.add_argument("},{"line_number":270,"context_line":"            \u0027--python-interpreter\u0027,"},{"line_number":271,"context_line":"            action\u003d\u0027store\u0027,"},{"line_number":272,"context_line":"            default\u003d\"/usr/libexec/platform-python\","},{"line_number":273,"context_line":"            help\u003d_(\"Python interpreter for Ansible execution. \")"},{"line_number":274,"context_line":"        )"},{"line_number":275,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"d7c21e1d_0cc6c94c","line":272,"updated":"2021-04-27 12:36:36.000000000","message":"I don\u0027t have a Centos / rhel system right now - is this the correct path?  I\u0027ve not seen python called via this before.","commit_id":"26f8de161ff033f617543d77174307c908d38836"},{"author":{"_account_id":16515,"name":"mbu","email":"mat.bultel@gmail.com","username":"matbu"},"change_message_id":"ada83d1f0a9784adf14d719b498756c03201532c","unresolved":false,"context_lines":[{"line_number":269,"context_line":"        parser.add_argument("},{"line_number":270,"context_line":"            \u0027--python-interpreter\u0027,"},{"line_number":271,"context_line":"            action\u003d\u0027store\u0027,"},{"line_number":272,"context_line":"            default\u003d\"/usr/libexec/platform-python\","},{"line_number":273,"context_line":"            help\u003d_(\"Python interpreter for Ansible execution. \")"},{"line_number":274,"context_line":"        )"},{"line_number":275,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"e08170f6_d51db487","line":272,"in_reply_to":"09ae63df_6f6b4a20","updated":"2021-04-27 13:40:50.000000000","message":"Ack","commit_id":"26f8de161ff033f617543d77174307c908d38836"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"17c1c3bc13adc29116c39e6b58bf3d8ad74795b3","unresolved":true,"context_lines":[{"line_number":269,"context_line":"        parser.add_argument("},{"line_number":270,"context_line":"            \u0027--python-interpreter\u0027,"},{"line_number":271,"context_line":"            action\u003d\u0027store\u0027,"},{"line_number":272,"context_line":"            default\u003d\"/usr/libexec/platform-python\","},{"line_number":273,"context_line":"            help\u003d_(\"Python interpreter for Ansible execution. \")"},{"line_number":274,"context_line":"        )"},{"line_number":275,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"09ae63df_6f6b4a20","line":272,"in_reply_to":"0caf5c3d_1cd86760","updated":"2021-04-27 13:39:26.000000000","message":"You can\u0027t sys.executable because that would be the python executable for the local system which may not map to the remote one.\n\nplatform-python-3.6.8-36.el8.x86_64 : Internal interpreter of the Python programming language\nRepo        : @System\nMatched from:\nFilename    : /usr/libexec/platform-python","commit_id":"26f8de161ff033f617543d77174307c908d38836"},{"author":{"_account_id":16515,"name":"mbu","email":"mat.bultel@gmail.com","username":"matbu"},"change_message_id":"bb7ba5f6a497a1a2004194d07d522aca0788a0df","unresolved":true,"context_lines":[{"line_number":269,"context_line":"        parser.add_argument("},{"line_number":270,"context_line":"            \u0027--python-interpreter\u0027,"},{"line_number":271,"context_line":"            action\u003d\u0027store\u0027,"},{"line_number":272,"context_line":"            default\u003d\"/usr/libexec/platform-python\","},{"line_number":273,"context_line":"            help\u003d_(\"Python interpreter for Ansible execution. \")"},{"line_number":274,"context_line":"        )"},{"line_number":275,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"0caf5c3d_1cd86760","line":272,"in_reply_to":"d7c21e1d_0cc6c94c","updated":"2021-04-27 12:46:56.000000000","message":"I think you should use sys module instead:\ndefault\u003dsys.executable,","commit_id":"26f8de161ff033f617543d77174307c908d38836"}]}
