Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/trac/files/trac_performance_fix.snippet

Issue 29362580: Issue 4641 - Append performance fix to trac cgi file (Closed)
Patch Set: Issue 4641 - Performance fix to trac cgi file Created Nov. 16, 2016, 4:49 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/trac/manifests/init.pp » ('j') | modules/trac/manifests/init.pp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ### local modifications to the trac.fcgi file v1
2 from trac.web.session import session
3 orig_get = session.get
4 def patched_get(self, key, default=none):
mathias 2016/11/17 07:43:31 Typo: "None" vs. "none". Also, I guess it should b
f.nicolaisen 2016/11/17 08:23:46 I don't know. This snippet was directly copied fro
mathias 2016/11/17 10:18:33 Well, I guess somewhere in the process the snippet
f.nicolaisen 2016/11/17 10:54:31 Wtf... OK, good thing you spotted this! I must've
5 if key == 'accesskeys':
6 return '1'
7 return orig_get(self, key, default)
8 session.get = patched_get
9 ### end of local modifications
OLDNEW
« no previous file with comments | « no previous file | modules/trac/manifests/init.pp » ('j') | modules/trac/manifests/init.pp » ('J')

Powered by Google App Engine
This is Rietveld