1. jacobmason
  2. sphinx


Georg Brandl  committed 4e2bf6e

Fix the intersphinx inventory caching.

  • Participants
  • Parent commits 4a3f222
  • Branches default

Comments (0)

Files changed (1)

File sphinx/ext/intersphinx.py

View file
         # decide whether the inventory must be read: always read local
         # files; remote ones only if the cache time is expired
         if '://' not in inv or uri not in cache \
-               or cache[uri][0] < cache_time:
+               or cache[uri][1] < cache_time:
             app.info('loading intersphinx inventory from %s...' % inv)
             invdata = fetch_inventory(app, uri, inv)
             if invdata: