Edgewall Software

Ticket #3209 (closed defect: fixed)

Opened 2 years ago

Last modified 23 months ago

TracError not imported in trac.web.api

Reported by: pkropf@… Owned by: jonas
Priority: low Milestone: 0.9.6
Component: general Version: 0.9.5
Severity: minor Keywords:
Cc:

Description (last modified by cmlenz) (diff)

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

Attachments

Change History

Changed 2 years ago by cmlenz

  • priority changed from normal to low
  • severity changed from normal to minor
  • description modified (diff)
  • milestone set to 0.9.6

Good catch, but this is no longer applies to the current trunk, and isn't quite worth a bugfix release IMHO.

Changed 2 years ago by cboos

  • status changed from new to closed
  • resolution set to fixed

Applied in r3426.

Add/Change #3209 (TracError not imported in trac.web.api)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.