diff piecrust/sources/list.py @ 989:8adc27285d93

bake: Big pass on bake performance. - Reduce the amount of data passed between processes. - Make inter-process data simple objects to make it easier to test with alternatives to pickle. - Make sources have the basic requirement to be able to find a content item from an item spec (path). - Make Hoedown the default Markdown formatter.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 19 Nov 2017 14:29:17 -0800
parents d231a10d18f9
children
line wrap: on
line diff
--- a/piecrust/sources/list.py	Fri Nov 03 23:14:56 2017 -0700
+++ b/piecrust/sources/list.py	Sun Nov 19 14:29:17 2017 -0800
@@ -21,7 +21,7 @@
     def getRelatedContents(self, item, relationship):
         return self.inner_source.getRelatedContents(item, relationship)
 
-    def findContent(self, route_params):
+    def findContentFromRoute(self, route_params):
         # Can't find items... we could find stuff that's not in our list?
         raise NotImplementedError(
             "The list source doesn't support finding items.")