Remove deprecated property in blueprint (#2666)

Fixes https://github.com/sanic-org/sanic/issues/2442
This commit is contained in:
Rodolfo Olivieri 2023-01-30 04:26:55 -03:00 committed by GitHub
parent 4ad8168bb0
commit 30c53b6857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -304,9 +304,6 @@ class Blueprint(BaseSanic):
# Routes
for future in self._future_routes:
# attach the blueprint name to the handler so that it can be
# prefixed properly in the router
future.handler.__blueprintname__ = self.name
# Prepend the blueprint URI prefix if available
uri = self._setup_uri(future.uri, url_prefix)