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

Delta Between Two Patch Sets: modules/trac/files/trac_performance_fix.py

Issue 29362580: Issue 4641 - Append performance fix to trac cgi file (Closed)
Left Patch Set: Issue 4641 - Performance fix to trac cgi file Created Nov. 16, 2016, 4:49 p.m.
Right 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:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | modules/trac/manifests/init.pp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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
LEFTRIGHT

Powered by Google App Engine
This is Rietveld