)]}'
{"glance/common/scripts/utils.py":[{"author":{"_account_id":13161,"name":"Kamil Rykowski","email":"kamil.rykowski@gmail.com","username":"krykowski"},"change_message_id":"e139b477e0e4d9094e554aee108593506e53426e","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    # NOTE: file type uri is being avoided for security reasons,"},{"line_number":96,"context_line":"    # see LP bug #942118 #1400966."},{"line_number":97,"context_line":"    elif (location.startswith(\"file:///\") or"},{"line_number":98,"context_line":"          location.startswith(\"filesystem:///\")):"},{"line_number":99,"context_line":"        msg \u003d _(\"File based imports are not allowed. Please use a non-local \""},{"line_number":100,"context_line":"                \"source of image data.\")"},{"line_number":101,"context_line":"        # NOTE: raise Exception and let the encompassing block save"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_a1b18f45","line":98,"updated":"2015-01-08 09:20:57.000000000","message":"startswith method supports tuple argument, so we can create a little bit cleaner solution here.\n\nfile_pattern_uri \u003d (\"file:///\", \"filesystem:///\")\nif location.startswith(file_pattern_uri):","commit_id":"65a8705061afd1f6ae5558f28261cdc33386c535"},{"author":{"_account_id":6549,"name":"Zhi Yan Liu","email":"lzy.dev@gmail.com","username":"lzy-dev"},"change_message_id":"c73fe2ad0e2a5e600a11b5aec5d64f65fca6f2ad","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    # NOTE: file type uri is being avoided for security reasons,"},{"line_number":96,"context_line":"    # see LP bug #942118 #1400966."},{"line_number":97,"context_line":"    elif (location.startswith(\"file:///\") or"},{"line_number":98,"context_line":"          location.startswith(\"filesystem:///\")):"},{"line_number":99,"context_line":"        msg \u003d _(\"File based imports are not allowed. Please use a non-local \""},{"line_number":100,"context_line":"                \"source of image data.\")"},{"line_number":101,"context_line":"        # NOTE: raise Exception and let the encompassing block save"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_fc0fbc36","line":98,"in_reply_to":"3a961159_a1b18f45","updated":"2015-01-08 10:46:37.000000000","message":"Good idea, done.\n\n(so seems L#92 is a good candidate for this. btw.)","commit_id":"65a8705061afd1f6ae5558f28261cdc33386c535"}]}
