)]}'
{"swiftclient/shell.py":[{"author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"change_message_id":"51227530fbbf691529f826f3235779abd40bda28","unresolved":false,"context_lines":[{"line_number":406,"context_line":"                        if basename(path):"},{"line_number":407,"context_line":"                            fp \u003d open(path, \u0027wb\u0027)"},{"line_number":408,"context_line":"                        else:"},{"line_number":409,"context_line":"                            fp \u003d open(\u0027/dev/null\u0027, \u0027wb\u0027)"},{"line_number":410,"context_line":"                read_length \u003d 0"},{"line_number":411,"context_line":"                if \u0027x-object-manifest\u0027 not in headers and \\"},{"line_number":412,"context_line":"                        \u0027x-static-large-object\u0027 not in headers:"}],"source_content_type":"text/x-python","patch_set":1,"id":"7ac7a964_f076c7d7","line":409,"updated":"2014-08-14 12:54:45.000000000","message":"I think the check should be done before the download, and the download itself should be skipped if required. \n\nWhat about this:\n\n ...\n if not basename(path):\n     thread_manager.print_msg(\"unable to create file named \u0027%s\u0027\", path)\n     return\n fp \u003d open(path, \u0027wb\u0027)\n ...","commit_id":"5fb42c20e9e3855f332ff2fa3e230bb9a7096462"}]}
