Modify

Opened 4 months ago

#14351 new enhancement

patch for support of trac 1.6

Reported by: anonymous Owned by: Jon Ashley
Priority: normal Component: KeepInterfaceSimplePlugin
Severity: normal Keywords:
Cc: Trac Release: 1.6

Description

--- kis2/__init__.py    2024-08-07 11:23:03
+++ kis2-trac1.6/__init__.py    2024-08-07 11:28:31
@@ -1 +1 @@
-from kis import IConfigFunction
+from .kis import IConfigFunction
diff --color=auto -ruN kis2/kis.py kis2-trac1.6/kis.py
--- kis2/kis.py 2024-08-07 11:23:03
+++ kis2-trac1.6/kis.py 2024-08-07 11:28:31
@@ -24,7 +24,7 @@
                          RequestDone
 from trac.web.chrome import add_script, add_script_data, ITemplateProvider
 
-from genshi.filters.transform import Transformer
+# from genshi.filters.transform import Transformer
 
 ###############################################################################
 
@@ -763,7 +763,9 @@
 
     # ITemplateProvider methods
     def get_htdocs_dirs(self):
-        return [('kis2', resource_filename(__name__, 'htdocs'))]
+    #    return [('kis2', resource_filename(__name__, 'htdocs'))]
+        yield 'kis2', resource_filename(__name__, 'htdocs')
+
 
     def get_templates_dirs(self):
         return []

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Jon Ashley.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.