def __call__(self, *a, **kw):
        app = DumbApplication(*a, **kw)
        app.status_codes = self.status_codes
        try:
            app.default_status_code = self.status_codes[-1]
        except __HOLE__:
            app.default_status_code = 200
        app.body = self.body
        return app
dataset/ETHPy150Open notmyname/slogging/test_slogging/unit/test_internal_proxy.py/DumbApplicationFactory.__call__