• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoawindowspythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdombtronvb.netdirectxarduinopreviewerゲームエンジン

allura


Commit MetaInfo

修訂a6c63df7a2aebde33b7da582835e5cb4c20b1dbf (tree)
時間2012-06-21 04:36:47
作者Cory Johns <johnsca@geek...>
CommiterCory Johns

Log Message

[#4294] Minor code style change

Signed-off-by: Cory Johns <johnsca@geek.net>

Change Summary

差異

--- a/ForgeTracker/forgetracker/tracker_main.py
+++ b/ForgeTracker/forgetracker/tracker_main.py
@@ -165,9 +165,9 @@ class ForgeTrackerApp(Application):
165165 SitemapEntry('Edit Searches', admin_url + 'bins/')]
166166 links += super(ForgeTrackerApp, self).admin_menu()
167167 # change Options menu html class
168- for i in range(len(links)):
169- if links[i].label == "Options":
170- links[i] = SitemapEntry('Options', admin_url + 'options', className=None)
168+ for link in links:
169+ if link.label == 'Options':
170+ link.className = None
171171 return links
172172
173173 @h.exceptionless([], log)