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: Forgot the py file Created Nov. 18, 2016, 9:32 a.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') | no next file with comments »
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld