diff piecrust/sources/posts.py @ 866:d9059257743c

refactor: Make the linker work again.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 12 Jun 2017 22:10:50 -0700
parents fddaf43424e2
children c445a3d5d950
line wrap: on
line diff
--- a/piecrust/sources/posts.py	Thu Jun 08 23:32:19 2017 -0700
+++ b/piecrust/sources/posts.py	Mon Jun 12 22:10:50 2017 -0700
@@ -37,7 +37,7 @@
         return self.__class__.PATH_FORMAT
 
     def _finalizeContent(self, groups):
-        SimpleAssetsSubDirMixin._removeAssetGroups(groups)
+        SimpleAssetsSubDirMixin._removeAssetGroups(self, groups)
 
     def getParentGroup(self, item):
         return None
@@ -48,6 +48,9 @@
                 self, item)
         return FSContentSource.getRelatedContents(self, item, relationship)
 
+    def findGroup(self, spec):
+        return None
+
     def findContent(self, route_params):
         year = route_params.get('year')
         month = route_params.get('month')