)]}'
{"swift/cli/info.py":[{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"52b826c06f9bb95a70689cb0b158fef36ecabd17","unresolved":false,"context_lines":[{"line_number":335,"context_line":""},{"line_number":336,"context_line":""},{"line_number":337,"context_line":"def print_item_locations(*args, **kwargs):"},{"line_number":338,"context_line":"    ring_file, account, container, obj \u003d _pad(args, 4)"},{"line_number":339,"context_line":"    if ring_file is None:"},{"line_number":340,"context_line":"        print \u0027No ring file specified\u0027"},{"line_number":341,"context_line":"        raise InfoSystemExit()"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAW3%2F%2FZGs%3D","line":338,"updated":"2014-04-15 18:22:25.000000000","message":"I think it\u0027d be clearer to let python\u0027s built in argument unpacking do this for you.\n\n    def print_item_locations(ring, account, container\u003dNone, obj\u003dNone, partition\u003dNone, all\u003dFalse, **kwargs):","commit_id":"e8c8f1e54c942851a5c9ef56c4ff1a934b9cd7a0"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"52b826c06f9bb95a70689cb0b158fef36ecabd17","unresolved":false,"context_lines":[{"line_number":357,"context_line":"    try:"},{"line_number":358,"context_line":"        loc \u003d ring_file.rsplit(\u0027/\u0027, 1)[-1].split(\u0027.\u0027, 1)[0]"},{"line_number":359,"context_line":"    except AttributeError:"},{"line_number":360,"context_line":"        raise InfoSystemExit()"},{"line_number":361,"context_line":"    else:"},{"line_number":362,"context_line":"        if loc in (\u0027account\u0027, \u0027container\u0027, \u0027object\u0027):"},{"line_number":363,"context_line":"            loc +\u003d \u0027s\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAW3%2F%2FY90%3D","line":360,"updated":"2014-04-15 18:22:25.000000000","message":"so this is needed if you swift-get-nodes for a part?  So you have to back into the datadir from the ring name?\n\nWhat does the AttributeError mean - that ring_file isn\u0027t a string?  Is there any info you can give in the error message?","commit_id":"e8c8f1e54c942851a5c9ef56c4ff1a934b9cd7a0"}]}
