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

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

Issue 29362580: Issue 4641 - Append performance fix to trac cgi file (Closed)
Patch Set: Issue 4641 - Performance fix to trac cgi file Created Nov. 17, 2016, 9:43 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 from trac.web.session import Session
2 orig_get = Session.get
3 def patched_get(self, key, default=None):
4 if key == 'accesskeys':
5 return '1'
6 return orig_get(self, key, default)
7 Session.get = patched_get
8
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