Ticket #7644 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

import of nonexistant module in macros.py

Reported by: g1itch Assigned to: gotoh
Priority: normal Component: TracWikiNegotiatorPlugin
Severity: trivial Keywords:
Cc: Trac Release: 0.12

Description

There is no html in trac.wiki (I cannot find it even in trac-0.10 branch) Drop this import as it probably doesn't used anywhere:

Index: wikinegotiator/macros.py
===================================================================
--- wikinegotiator/macros.py	(revision 8667)
+++ wikinegotiator/macros.py	(working copy)
@@ -3,7 +3,7 @@
 from trac import __version__ as version
 from trac.core import *
 from trac.config import Option, ListOption
-from trac.wiki import WikiSystem, html
+from trac.wiki import WikiSystem
 from trac.wiki.macros import WikiMacroBase
 from trac.wiki.model import WikiPage

Attachments

Change History

10/08/10 03:49:47 changed by gotoh

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

(In [9266]) Do not import non-existant module (fix #7644). It is an old garbage and trac.util.html was the right one.


Add/Change #7644 (import of nonexistant module in macros.py)




Change Properties
Action