Left: | ||
Right: |
LEFT | RIGHT |
---|---|
(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 | |
LEFT | RIGHT |