rescan metadata before serving collections
authorchrysn <chrysn@fsfe.org>
Fri, 4 Apr 2014 12:26:16 +0000 (14:26 +0200)
committerJelmer Vernooij <jelmer@jelmer.uk>
Sun, 10 Apr 2016 11:43:29 +0000 (11:43 +0000)
calypso/paths.py

index ec284c7c34a208a058ee3feefb36afb4d0961544..68b79327310fce75cf08a3ebfaa09674c8d4e34c 100644 (file)
@@ -99,7 +99,9 @@ def enumerate_collection_paths():
 def enumerate_collections():
     from calypso import collection_singleton
     for p in enumerate_collection_paths():
-        yield collection_singleton(p)
+        c = collection_singleton(p)
+        c.scan_metadata(False)
+        yield c
 
 #
 # Given a URL, return the parent URL by stripping off