Modify ↓
Opened 23 months ago
Closed 10 months ago
#14162 closed defect (fixed)
Don't use monkey patch to TracError.__str__
Reported by: | Jun Omae | Owned by: | Dirk Stöcker |
---|---|---|---|
Priority: | normal | Component: | CollapsiblePlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: |
Description
I noticed the plugin uses monkey patch to TracError.__str__
at source:/collapsibleplugin/0.12/traccollapsible/__init__.py@:29. Don't absolutely use it.
# Ignore errors to avoid Internal Server Errors from trac.core import TracError TracError.__str__ = lambda self: unicode(self).encode('ascii', 'ignore')
Attachments (0)
Change History (2)
comment:1 Changed 10 months ago by
Owner: | changed from codingking to Dirk Stöcker |
---|---|
Status: | new → assigned |
comment:2 Changed 10 months ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In 18568: