)]}'
{"barbicanclient/tests/keystone_client_fixtures.py":[{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"4fec2f6bfb5960d02ffb835bf329aa0b33303b11","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    ref \u003d copy.deepcopy(kwargs)"},{"line_number":76,"context_line":"    # normalized token data"},{"line_number":77,"context_line":"    ref[\u0027user_id\u0027] \u003d ref.get(\u0027user_id\u0027,"},{"line_number":78,"context_line":"                             uuidutils.generate_uuid(True))"},{"line_number":79,"context_line":"    ref[\u0027username\u0027] \u003d ref.get(\u0027username\u0027,"},{"line_number":80,"context_line":"                              uuidutils.generate_uuid(True))"},{"line_number":81,"context_line":"    ref[\u0027project_id\u0027] \u003d ref.get("}],"source_content_type":"text/x-python","patch_set":4,"id":"3a71b18c_c18d31d4","line":78,"range":{"start_line":78,"start_character":53,"end_line":78,"end_character":57},"updated":"2016-12-07 03:20:50.000000000","message":"I believe you have made a mistake on using the method. The method defined in oslo.utils is as follow:\n\ndef generate_uuid(dashed\u003dTrue):\n    \"\"\"Creates a random uuid string.\n\n    :param dashed: Generate uuid with dashes or not\n    :type dashed: bool\n    :returns: string\n    \"\"\"\n    if dashed:\n        return str(uuid.uuid4())\n    return uuid.uuid4().hex\n\nHere you should pass \u0027False\u0027 into the method, and please use uuidutils.generate_uuid(dashed\u003dFalse), this will be more readable.\n\nPlease check the other changes to ensure passing proper param.","commit_id":"a7bc4764fbd3954e0490b3ecd2fa96dd4e2042ed"}]}
