)]}'
{"novaclient/v1_1/shell.py":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"2fa957bc3646ced03dfa9ad8b7a9fa708c478ca4","unresolved":false,"context_lines":[{"line_number":2144,"context_line":"    certs \u003d cs.certs.create()"},{"line_number":2145,"context_line":""},{"line_number":2146,"context_line":"    try:"},{"line_number":2147,"context_line":"        old_umask \u003d os.umask(0o266)"},{"line_number":2148,"context_line":"        with open(args.pk_filename, \u0027w\u0027) as private_key:"},{"line_number":2149,"context_line":"            private_key.write(certs.private_key)"},{"line_number":2150,"context_line":"            print \"Wrote private key to %s\" % args.pk_filename"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FOI8%3D","line":2147,"updated":"2013-02-01 16:09:06.000000000","message":"So, you don\u0027t care about \u0027x\u0027?  :)  I probably would have gone with 0o377, personally…","commit_id":"f16020c3a222e388b92e67177490b2e3dcfa67ef"},{"author":{"_account_id":4257,"name":"Zane Bitter","email":"zbitter@redhat.com","username":"zaneb"},"change_message_id":"5bf0631acd255c07cfbfc71983ef24bc9190436e","unresolved":false,"context_lines":[{"line_number":2144,"context_line":"    certs \u003d cs.certs.create()"},{"line_number":2145,"context_line":""},{"line_number":2146,"context_line":"    try:"},{"line_number":2147,"context_line":"        old_umask \u003d os.umask(0o266)"},{"line_number":2148,"context_line":"        with open(args.pk_filename, \u0027w\u0027) as private_key:"},{"line_number":2149,"context_line":"            private_key.write(certs.private_key)"},{"line_number":2150,"context_line":"            print \"Wrote private key to %s\" % args.pk_filename"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FJmI%3D","line":2147,"in_reply_to":"AAAAM3%2F%2FOI8%3D","updated":"2013-02-05 16:10:32.000000000","message":"Well, fopen() creates files with mode 0666, so whether you then mask off the execute bits is kind of academic. I went with not doing it because that seemed like a more explicit way to indicate what the code actually does (it has no effect on the execute bits either way), but I\u0027m happy to submit an updated patch :)","commit_id":"f16020c3a222e388b92e67177490b2e3dcfa67ef"}]}
