There was an error while loading. Please reload this page.
1 parent 7b62cbf commit 143a58dCopy full SHA for 143a58d
1 file changed
ietf/doc/models.py
@@ -497,7 +497,10 @@ def htmlized(self):
497
if text:
498
cache = caches['htmlized']
499
cache_key = name.split('.')[0]
500
- html = cache.get(cache_key)
+ try:
501
+ html = cache.get(cache_key)
502
+ except EOFError:
503
+ html = None
504
if not html:
505
# The path here has to match the urlpattern for htmlized
506
# documents in order to produce correct intra-document links
0 commit comments