Opened 18 years ago
Last modified 17 years ago
#3209 closed defect
TracError not imported in trac.web.api — at Initial Version
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | low | Milestone: | 0.9.6 |
Component: | general | Version: | 0.9.5 |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
While working on a plugin, I came across a problem with trac.web.api. TracError is raised but never defined. Here's a quick fix:
peter@think:~/src/trac-0.9-stable> svn diff trac/web/api.py Index: trac/web/api.py =================================================================== —- trac/web/api.py (revision 3356) +++ trac/web/api.py (working copy) @@ -20,7 +20,7 @@
import urlparse
from trac.core import Interface
-from trac.util import http_date +from trac.util import http_date, TracError