Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2007-07-16 15:53:00 +0200 (Mon, 16 Jul 2007)
New Revision: 5370
Fix modindex caching.
--- trunk/sandbox/py-rest-doc/sphinx/web/application.py 2007-07-15 21:16:25 UTC (rev 5369)
+++ trunk/sandbox/py-rest-doc/sphinx/web/application.py 2007-07-16 13:53:00 UTC (rev 5370)
@@ -350,13 +350,15 @@
most_frequent = sorted(x for x in most_frequent)
if most_frequent != self.last_most_frequent:
- self.cache.pop('@modindex', None)
- yield '@modindex'
+ yield NoCache
+ yield '@modindex'
filename = path.join(self.data_root, 'modindex.fpickle')
with open(filename, 'rb') as f:
context = pickle.load(f)
context['freqentries'] = most_frequent
+ self.last_most_frequent = most_frequent
yield render_template(req, 'modindex.html',
Sign up for the SourceForge newsletter: