Index: modules/trac/files/trac_performance_fix.py |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/modules/trac/files/trac_performance_fix.py |
@@ -0,0 +1,8 @@ |
+from trac.web.session import Session |
+orig_get = Session.get |
+def patched_get(self, key, default=None): |
+ if key == 'accesskeys': |
+ return '1' |
+ return orig_get(self, key, default) |
+Session.get = patched_get |
+ |