)]}'
{"swift/common/utils.py":[{"author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"change_message_id":"371148d8d0c12c2cc986918df75b20f352a015c4","unresolved":false,"context_lines":[{"line_number":1167,"context_line":"    \"\"\""},{"line_number":1168,"context_line":"    user \u003d pwd.getpwnam(user)"},{"line_number":1169,"context_line":"    if os.geteuid() \u003d\u003d 0:"},{"line_number":1170,"context_line":"        groups \u003d [g.gr_gid for g in grp.getgrall() if user in g.gr_mem]"},{"line_number":1171,"context_line":"        os.setgroups(groups)"},{"line_number":1172,"context_line":"    os.setgid(user[3])"},{"line_number":1173,"context_line":"    os.setuid(user[2])"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAUH%2F%2Bui8%3D","line":1170,"updated":"2014-01-22 18:57:27.000000000","message":"user in this line is a struct (from line 1168) and no more a str() from the arg. Thus you need to use user.pw_name here or move line 1168 after the if-condition.","commit_id":"36999ca306cd938f2ec6628b76a5410950186f01"}]}
