Georg Brandl committed 4e2bf6e

Fix the intersphinx inventory caching.

  • Participants
  • Parent commits 4a3f222

Comments (0)

Files changed (1)

File sphinx/ext/

         # 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:
   'loading intersphinx inventory from %s...' % inv)
             invdata = fetch_inventory(app, uri, inv)
             if invdata: