)]}'
{"openstack_releases/xstaticutils.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"056cda273559ce82862157aa75406c0d1c2bfade","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    # Switch to the workdir"},{"line_number":25,"context_line":"    start_path \u003d os.getcwd()"},{"line_number":26,"context_line":"    repo_dir \u003d \u0027%s/%s\u0027 % (workdir, repo)"},{"line_number":27,"context_line":"    os.chdir(repo_dir)"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    # Add the repo to the PYTHONPATH so we can import its contents"},{"line_number":30,"context_line":"    sys.path.append(repo_dir)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_a2b17c91","line":27,"updated":"2018-06-25 14:26:25.000000000","message":"We should probably do this with a try:finally to ensure we change back to the start_path.","commit_id":"a6b3b30827dfc280b43e52cb33d38c0f47f7cc98"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"0f4d64c7a0cd0d4c66ea2af1aa52269a3efabe59","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    # Switch to the workdir"},{"line_number":25,"context_line":"    start_path \u003d os.getcwd()"},{"line_number":26,"context_line":"    repo_dir \u003d \u0027%s/%s\u0027 % (workdir, repo)"},{"line_number":27,"context_line":"    os.chdir(repo_dir)"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    # Add the repo to the PYTHONPATH so we can import its contents"},{"line_number":30,"context_line":"    sys.path.append(repo_dir)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_165995fb","line":27,"in_reply_to":"5f7c97a3_a2b17c91","updated":"2018-06-25 14:36:46.000000000","message":"Done","commit_id":"a6b3b30827dfc280b43e52cb33d38c0f47f7cc98"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"056cda273559ce82862157aa75406c0d1c2bfade","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    os.chdir(repo_dir)"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    # Add the repo to the PYTHONPATH so we can import its contents"},{"line_number":30,"context_line":"    sys.path.append(repo_dir)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    # Extract PACAKGE_VERSION from any xstatic packages found"},{"line_number":33,"context_line":"    for name in os.listdir(\u0027xstatic/pkg\u0027):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_627cc4b5","line":30,"updated":"2018-06-25 14:26:25.000000000","message":"If we chdir down to repo/xstatic/pkg we shouldn\u0027t need to modify the path, right?","commit_id":"a6b3b30827dfc280b43e52cb33d38c0f47f7cc98"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"0f4d64c7a0cd0d4c66ea2af1aa52269a3efabe59","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    os.chdir(repo_dir)"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    # Add the repo to the PYTHONPATH so we can import its contents"},{"line_number":30,"context_line":"    sys.path.append(repo_dir)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    # Extract PACAKGE_VERSION from any xstatic packages found"},{"line_number":33,"context_line":"    for name in os.listdir(\u0027xstatic/pkg\u0027):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_d66ebd94","line":30,"in_reply_to":"5f7c97a3_627cc4b5","updated":"2018-06-25 14:36:46.000000000","message":"I\u0027m not sure if that would be safe. I don\u0027t know if they would try to import anything else from the package from this file.","commit_id":"a6b3b30827dfc280b43e52cb33d38c0f47f7cc98"}]}
