#5305 jinja2 "escape" no longer valid
Closed: Fixed 2 years ago by wombelix. Opened 2 years ago by zpagure.

This line "from jinja2 import escape" in pagure/ui/filters.py gives an error on a new Pagure installation. I've found that "escape" has been removed from the jinja2 module and should be replaced with "from markupsafe import escape". The markupsafe is a dependency of jinja2 so it should be already installed.


Metadata Update from @wombelix:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Log in to comment on this ticket.

Metadata
Related Pull Requests
  • #5360 Merged 2 years ago