Commits

Tetsuya Morimoto committed 63ed35a

fixed to pass pep8 test

Comments (0)

Files changed (2)

 from trac.util.translation import domain_functions
 
 from model import CUSTOM_FIELDS, TICKETREF, TicketLinks
-from utils import cnv_sorted_refs, get_refs_in_comment 
+from utils import cnv_sorted_refs, get_refs_in_comment
 
 _, add_domain = domain_functions("ticketref", ("_", "add_domain"))
 

ticketref/web_ui.py

 _dummy_catalog = _("added"), _("removed")
 
 
-
 class TicketRefsTemplate(Component):
     """ Extend template for ticket cross-reference """
 
 
     def post_process_request(self, req, template, data, content_type):
         if req.path_info.startswith("/ticket/") or \
-            req.path_info.startswith("/newticket"):
+           req.path_info.startswith("/newticket"):
             add_stylesheet(req, "ticketref/ticket.css")
             add_script(req, "ticketref/ticket.js")
         return template, data, content_type