| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |