| Index: modules/trac/files/trac_performance_fix.snippet |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/modules/trac/files/trac_performance_fix.snippet |
| @@ -0,0 +1,9 @@ |
| +### local modifications to the trac.fcgi file v1 |
| +from trac.web.session import session |
| +orig_get = session.get |
| +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
|
| + if key == 'accesskeys': |
| + return '1' |
| + return orig_get(self, key, default) |
| +session.get = patched_get |
| +### end of local modifications |