def blueprint(self, blueprint, **options):
if blueprint.name in self.blueprints:<EOL><INDENT>assert self.blueprints[blueprint.name] is blueprint,'<STR_LIT>''<STR_LIT>' %(blueprint.name,)<EOL><DEDENT>else:<EOL><INDENT>self.blueprints[blueprint.name] = blueprint<EOL>self._blueprint_order.append(blueprint)<EOL><DEDENT>blueprint.register(self, options)<EOL>
Register a blueprint on the application.

        :param blueprint: Blueprint object
        :param options: option dictionary with blueprint defaults
        :return: Nothing