Import 'sorted', context and interface error for Trac 1.4
-
old
|
new
|
from trac.core import * |
3 | | from trac.util import escape, Markup, reversed, sorted |
| 3 | from trac.util import escape, Markup, reversed |
… |
… |
from trac.wiki.formatter import format_to_oneliner |
8 | | from trac.mimeview import Context |
| 8 | from trac.web.chrome import web_context as get_context |
… |
… |
class KeywordReplace(Component): |
55 | | context = Context.from_request(formatter.req, formatter.resource) |
| 55 | context = get_context(formatter.req, formatter.resource) |
… |
… |
class KeywordReplace(Component): |
72 | | def wiki_page_changed(self, page, version, t, comment, author, ipnr): |
| 72 | def wiki_page_changed(self, page, version, t, comment, author): |
Change History (6)
Owner: |
changed from Bangyou Zheng to Ryan J Ollos
|
Status: |
new →
accepted
|
Keywords: |
sorted interface removed
|
Resolution: |
→ fixed
|
Status: |
accepted →
closed
|
In 17653: