mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
humbug_trac: Clean up some unused imports/dummy class name.
(imported from commit 58ef3263c1a4f94c7affa94acd63f272b8749266)
This commit is contained in:
@@ -14,8 +14,7 @@
|
|||||||
#
|
#
|
||||||
# Our install is trac.humbughq.com:/home/humbug/trac/
|
# Our install is trac.humbughq.com:/home/humbug/trac/
|
||||||
|
|
||||||
from trac.core import *
|
from trac.core import Component, implements
|
||||||
from trac.util.html import html
|
|
||||||
from trac.ticket import ITicketChangeListener
|
from trac.ticket import ITicketChangeListener
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
@@ -41,7 +40,7 @@ def send_update(ticket, content):
|
|||||||
"subject": trac_subject(ticket)
|
"subject": trac_subject(ticket)
|
||||||
})
|
})
|
||||||
|
|
||||||
class HelloWorldPlugin(Component):
|
class HumbugPlugin(Component):
|
||||||
implements(ITicketChangeListener)
|
implements(ITicketChangeListener)
|
||||||
|
|
||||||
def ticket_created(self, ticket):
|
def ticket_created(self, ticket):
|
||||||
|
|||||||
Reference in New Issue
Block a user