Skip to content

Commit bb935ca

Browse files
committed
Fixed linting problems.
1 parent 46d66f0 commit bb935ca

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.TRACFREEZE.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ trac.wiki.web_api.wikirenderer
102102
trac.wiki.web_ui.defaultwikipolicy
103103
tracdjangoplugin.plugins.customnavigationbar
104104
tracdjangoplugin.plugins.customnewticket
105+
tracdjangoplugin.plugins.customsubnavigationbar
105106
tracdjangoplugin.plugins.customtheme
106107
tracdjangoplugin.plugins.customwikimodule
107108
tracdjangoplugin.plugins.githubbrowserwithsvnchangesets

DjangoPlugin/tracdjangoplugin/plugins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ def get_active_navigation_item(self, req):
147147
return ""
148148

149149
def _get_active_class(self, active_item, subnav_name):
150-
return 'active' if active_item == subnav_name else None
150+
return "active" if active_item == subnav_name else None
151151

152152
def get_navigation_items(self, req):
153-
if req.path_info.startswith('/query'):
153+
if req.path_info.startswith("/query"):
154154
active_item = self.get_active_navigation_item(req)
155155
return [
156156
(

0 commit comments

Comments
 (0)