)]}'
{"openstackclient/identity/v2_0/user.py":[{"author":{"_account_id":9983,"name":"Richard Megginson","email":"rmeggins@redhat.com","username":"rmeggins"},"change_message_id":"527d1f298463396870e8d80ecdc15872007d1f3e","unresolved":false,"context_lines":[{"line_number":107,"context_line":"            else:"},{"line_number":108,"context_line":"                raise osc_exc.CommandError()"},{"line_number":109,"context_line":"        except osc_exc.CommandError:"},{"line_number":110,"context_line":"            user \u003d identity_client.users.create("},{"line_number":111,"context_line":"                parsed_args.name,"},{"line_number":112,"context_line":"                parsed_args.password,"},{"line_number":113,"context_line":"                parsed_args.email,"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a8c0949_c4a0c545","line":110,"updated":"2014-11-07 13:14:24.000000000","message":"Does this also show the user?  Otherwise, you are going to get different output depending on whether or not the user is created.","commit_id":"cf217596bb22fb1e5103160611cc07aaab088e07"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"0d84bc69d8b41253c8e41bda81ba315abdbbeaf0","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        if parsed_args.password_prompt:"},{"line_number":98,"context_line":"            parsed_args.password \u003d utils.get_password(self.app.stdin)"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"        try:"},{"line_number":101,"context_line":"            if parsed_args.or_show:"},{"line_number":102,"context_line":"                user \u003d utils.find_resource("},{"line_number":103,"context_line":"                    identity_client.users,"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_d002c2b3","line":100,"updated":"2014-11-07 17:57:21.000000000","message":"Can this be instead more simply written:\n\n    if parsed_args.or_show:\n        user \u003d utils.find_resource(\n            identity_client.users, parsed_args.name)\n        self.log.info(\u0027...\u0027)\n    else:\n        user \u003d identity_client.users.create(\n            parsed_args.name,\n            parsed_args.password,\n            # ...\n        )","commit_id":"217b631a452530416332525dd301929ff8fb4730"},{"author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"change_message_id":"e14c2da8898d631d2b040aa09f3952ef648b1c55","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        if parsed_args.password_prompt:"},{"line_number":98,"context_line":"            parsed_args.password \u003d utils.get_password(self.app.stdin)"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"        try:"},{"line_number":101,"context_line":"            if parsed_args.or_show:"},{"line_number":102,"context_line":"                user \u003d utils.find_resource("},{"line_number":103,"context_line":"                    identity_client.users,"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_7003ce73","line":100,"in_reply_to":"5a890539_d002c2b3","updated":"2014-11-07 18:32:06.000000000","message":"utils.find_resource() throws an exception if the user is not found so I have to trap that; alternately, users.create() throws an exception if the create fails; it  looks like it might not be as goofy to do it that way.","commit_id":"217b631a452530416332525dd301929ff8fb4730"}]}
