File tree 1 file changed +2
-6
lines changed
v7/localsearch/localsearch
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 29
29
import json
30
30
import os
31
31
32
- from doit .tools import result_dep
33
-
34
32
from nikola .plugin_categories import LateTask
35
33
from nikola .utils import config_changed , copy_tree , makedirs
36
34
@@ -93,11 +91,9 @@ def save_data():
93
91
"name" : dst_path ,
94
92
"targets" : [dst_path ],
95
93
"actions" : [(save_data , [])],
96
- 'uptodate' : [config_changed (kw ), result_dep ('sitemap' )]
94
+ 'uptodate' : [config_changed (kw )],
95
+ 'calc_dep' : ['_scan_locs:sitemap' ]
97
96
}
98
- # Note: The task should run everytime a new file is added or a
99
- # file is changed. We cheat, and depend on the sitemap task,
100
- # to run everytime a new file is added.
101
97
102
98
# Copy all the assets to the right places
103
99
asset_folder = os .path .join (os .path .dirname (__file__ ), "files" )
You can’t perform that action at this time.
0 commit comments