{"issue":{"pull_request":{"diff_url":"https://github.com/mozilla-services/mozservices/pull/3.diff","html_url":"https://github.com/mozilla-services/mozservices/pull/3","patch_url":"https://github.com/mozilla-services/mozservices/pull/3.patch"},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/7ad57e27678b3a70d05e9c3fb1af123e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7ad57e27678b3a70d05e9c3fb1af123e","url":"https://api.github.com/users/rfk","login":"rfk","id":34695},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-04T14:59:22Z","comments":1,"closed_at":null,"url":"https://api.github.com/repos/mozilla-services/mozservices/issues/3","body":"This is a helper method I was toying with to reduce the boilerplate in our someapp/__init__.py:main.  With it the initialisation code for keyretrieval becomes::\r\n\r\n    from mozsvc.config import get_configurator\r\n    \r\n    def includeme(config):\r\n        config.include(\"pyramid_multiauth\")\r\n        config.include(\"cornice\")\r\n        config.include(\"mozsvc\")\r\n        config.scan(\"keyretrieval.views\")\r\n    \r\n    def main(global_config, **settings):\r\n        config = get_configurator(global_config, **settings)\r\n        config.include(includeme)\r\n        return config.make_wsgi_app()\r\n\r\nThoughts?","html_url":"https://github.com/mozilla-services/mozservices/issues/3","number":3,"title":"add get_configurator helper function","id":2139458,"created_at":"2011-11-04T00:09:56Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/5e5142d6a1a578f02e2d94c4d6d31088?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"5e5142d6a1a578f02e2d94c4d6d31088","url":"https://api.github.com/users/tarekziade","login":"tarekziade","id":250019},"updated_at":"2011-11-04T14:59:22Z","url":"https://api.github.com/repos/mozilla-services/mozservices/issues/comments/2631846","body":"looks good. I do like that song too","id":2631846,"created_at":"2011-11-04T14:59:22Z"}}