)]}'
{"pbr/packaging.py":[{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a26a5ba7663cf432c12e29acb92a556e8eab3b25","unresolved":false,"context_lines":[{"line_number":218,"context_line":""},{"line_number":219,"context_line":"from %(module_name)s import %(import_target)s"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"if __name__.startswith(\u0027_mod_wsgi\u0027):"},{"line_number":222,"context_line":"    application \u003d %(invoke_target)s()"},{"line_number":223,"context_line":"\"\"\""},{"line_number":224,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_9a93d3a2","line":221,"updated":"2015-06-25 13:44:37.000000000","message":"This is what I see when running in Apache Httpd, but I don\u0027t think wsgi specifies that this is what the name is going to be, so other containers might not set this or set it differently.\n\nI think this line should be removed.\n\nI only did this in keystone because building the docs would fail since it tried to import the module and failed since it did stuff on import. (I couldn\u0027t figure out how to tell sphinx to skip the file either.)","commit_id":"502f789e4bb7e9fc8ccc644ad56e72d5eb6aaf91"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"51ea8868cb13cdcecabb5755866a2d8ea009d32a","unresolved":false,"context_lines":[{"line_number":218,"context_line":""},{"line_number":219,"context_line":"from %(module_name)s import %(import_target)s"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"if __name__.startswith(\u0027_mod_wsgi\u0027):"},{"line_number":222,"context_line":"    application \u003d %(invoke_target)s()"},{"line_number":223,"context_line":"\"\"\""},{"line_number":224,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_1240d834","line":221,"in_reply_to":"fa32b979_9a93d3a2","updated":"2015-06-26 12:43:36.000000000","message":"ok, good to know, this is removed later.","commit_id":"502f789e4bb7e9fc8ccc644ad56e72d5eb6aaf91"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"7992a904e842318f7d0e533682696b571ba3226c","unresolved":false,"context_lines":[{"line_number":252,"context_line":"            yield (name, header + script_text)"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"    # wsgi script generation"},{"line_number":255,"context_line":"    for group in \u0027wsgi_scripts\u0027:"},{"line_number":256,"context_line":"        for name, ep in dist.get_entry_map(group).items():"},{"line_number":257,"context_line":"            if not ep.attrs or len(ep.attrs) \u003e 2:"},{"line_number":258,"context_line":"                raise ValueError(\"Script targets must be of the form \""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_deeaa80e","line":255,"updated":"2015-06-25 15:50:07.000000000","message":"I think you want to put \u0027wsgi_scripts\u0027 into a list/tuple, or not loop here and just dedent the block inside this loop.","commit_id":"502f789e4bb7e9fc8ccc644ad56e72d5eb6aaf91"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"51ea8868cb13cdcecabb5755866a2d8ea009d32a","unresolved":false,"context_lines":[{"line_number":252,"context_line":"            yield (name, header + script_text)"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"    # wsgi script generation"},{"line_number":255,"context_line":"    for group in \u0027wsgi_scripts\u0027:"},{"line_number":256,"context_line":"        for name, ep in dist.get_entry_map(group).items():"},{"line_number":257,"context_line":"            if not ep.attrs or len(ep.attrs) \u003e 2:"},{"line_number":258,"context_line":"                raise ValueError(\"Script targets must be of the form \""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_b277ac9e","line":255,"in_reply_to":"fa32b979_deeaa80e","updated":"2015-06-26 12:43:36.000000000","message":"yep, I\u0027m dumb. :)","commit_id":"502f789e4bb7e9fc8ccc644ad56e72d5eb6aaf91"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a26a5ba7663cf432c12e29acb92a556e8eab3b25","unresolved":false,"context_lines":[{"line_number":263,"context_line":"                import_target\u003dep.attrs[0],"},{"line_number":264,"context_line":"                invoke_target\u003d\u0027.\u0027.join(ep.attrs),"},{"line_number":265,"context_line":"            )"},{"line_number":266,"context_line":"            yield (name, header + script_text)"},{"line_number":267,"context_line":""},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"class LocalDevelop(develop.develop):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_da82bbfe","line":266,"updated":"2015-06-25 13:44:37.000000000","message":"I assume these go to /usr/local/bin? Can they go to /var/www/ or something?\n\nAlso, I assume header is \"#!/bin/env python\" ... don\u0027t want that for a wsgi script.","commit_id":"502f789e4bb7e9fc8ccc644ad56e72d5eb6aaf91"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"51ea8868cb13cdcecabb5755866a2d8ea009d32a","unresolved":false,"context_lines":[{"line_number":263,"context_line":"                import_target\u003dep.attrs[0],"},{"line_number":264,"context_line":"                invoke_target\u003d\u0027.\u0027.join(ep.attrs),"},{"line_number":265,"context_line":"            )"},{"line_number":266,"context_line":"            yield (name, header + script_text)"},{"line_number":267,"context_line":""},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"class LocalDevelop(develop.develop):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_12953887","line":266,"in_reply_to":"fa32b979_da82bbfe","updated":"2015-06-26 12:43:36.000000000","message":"Unfortunately, pip only understands lib and bin constructs. \n\nWe do want the #!/bin/env bit for the follow on patch which makes this run under wsgiref if run from the command line.","commit_id":"502f789e4bb7e9fc8ccc644ad56e72d5eb6aaf91"}]}
