)]}'
{"diskimage_builder/disk_image_create.py":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"0bde0801594c558ca3c875ea49c25449515358a2","unresolved":false,"context_lines":[{"line_number":32,"context_line":"def activate_venv():"},{"line_number":33,"context_line":"    if running_under_virtualenv():"},{"line_number":34,"context_line":"        activate_this \u003d os.path.join(sys.prefix, \"bin\", \"activate_this.py\")"},{"line_number":35,"context_line":"        exec(open(activate_this).read())"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"def main():"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a30ddce_213286a7","line":35,"updated":"2017-03-13 05:41:48.000000000","message":"ahh, i guess we both hit this.  i have I18077ba9d603752492cc81f260e12710981f4dff and i *think*(?) that is the \"recommended\" way?","commit_id":"4740d88501ef4259161aa65b7a68952e8e00a9db"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"0bde0801594c558ca3c875ea49c25449515358a2","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    environ[\u0027_LIB\u0027] \u003d diskimage_builder.paths.get_path(\u0027lib\u0027)"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    # export the path to the current python"},{"line_number":61,"context_line":"    if not os.environ(\u0027PYTHON\u0027):"},{"line_number":62,"context_line":"        os.environ[\u0027PYTHON\u0027] \u003d sys.executable()"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    # we have to handle being called as \"disk-image-create\" or"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a30ddce_6128fe33","line":61,"updated":"2017-03-13 05:41:48.000000000","message":"os.environ[\u0027PYTHON\u0027]?\n\nhttp://logs.openstack.org/36/443336/6/check-tripleo/gate-tripleo-ci-centos-7-ovb-nonha/9c484ac/logs/undercloud/var/log/image_build.txt.gz#_2017-03-13_05_26_40_000","commit_id":"4740d88501ef4259161aa65b7a68952e8e00a9db"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"92081e0bfa0577b87e186abd96f9facb7be9ca7b","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    environ[\u0027_LIB\u0027] \u003d diskimage_builder.paths.get_path(\u0027lib\u0027)"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    # export the path to the current python"},{"line_number":61,"context_line":"    if not os.environ(\u0027PYTHON\u0027):"},{"line_number":62,"context_line":"        os.environ[\u0027PYTHON\u0027] \u003d sys.executable()"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    # we have to handle being called as \"disk-image-create\" or"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a30ddce_41aa1a86","line":61,"in_reply_to":"9a30ddce_6128fe33","updated":"2017-03-13 05:49:31.000000000","message":"Ah, heh I just copy/pasted from your sample, didn\u0027t even think about it. :P","commit_id":"4740d88501ef4259161aa65b7a68952e8e00a9db"}],"diskimage_builder/elements/package-installs/extra-data.d/99-squash-package-install":[{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"f19db8c81566b74c6631527f0f1d14078bb7dcf8","unresolved":false,"context_lines":[{"line_number":8,"context_line":"# We don\u0027t know which python environment our requirements were installed under"},{"line_number":9,"context_line":"# so hunt for the required yaml module"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"python3 -c \u0027import yaml\u0027 \u0026\u003e /dev/null || true"},{"line_number":12,"context_line":"if [ $? -eq 0 ]; then"},{"line_number":13,"context_line":"  python_path\u003d$(command -v python3)"},{"line_number":14,"context_line":"else"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"9a30ddce_9d486589","line":11,"updated":"2017-03-09 02:20:38.000000000","message":"This may still not do what you intended. I think we just needed to add this to the beginning of python_path:\n\ncommand -v $DIB_PYTHON ||","commit_id":"fa8c85ccf76887cc874d28b6f49c55d2ebdb3d50"}]}
