1. Tetsuya Morimoto
  2. trac.plugins.ticketref

Commits

Tetsuya Morimoto  committed fe456cb

fixed to import appropriate module name, instead of "import *"

  • Participants
  • Parent commits 2839721
  • Branches default

Comments (0)

Files changed (2)

File ticketref/api.py

View file
  • Ignore whitespace
 # -*- coding: utf-8 -*-
-
 from pkg_resources import resource_filename
 
-from trac.core import *
+from trac.core import Component, implements
 from trac.env import IEnvironmentSetupParticipant
 from trac.ticket.api import ITicketChangeListener, ITicketManipulator
 from trac.ticket.model import Ticket

File ticketref/web_ui.py

View file
  • Ignore whitespace
 # -*- coding: utf-8 -*-
-
 from pkg_resources import resource_filename
 
 from genshi.builder import tag
-from trac.core import *
+from trac.core import Component, implements
 from trac.web.api import IRequestFilter, ITemplateStreamFilter
 from trac.web.chrome import ITemplateProvider, add_script, add_stylesheet
 from trac.resource import ResourceNotFound