Mercurial > piecrust2
comparison piecrust/baking/single.py @ 829:f19b52844948
Fixed call to Assetor.copyAssets
author | Ben Artin <ben@artins.org> |
---|---|
date | Sun, 01 Jan 2017 20:43:42 -0500 |
parents | 570f89414b2c |
children | a12ad254176e |
comparison
equal
deleted
inserted
replaced
828:bca06fc064c0 | 829:f19b52844948 |
---|---|
164 out_name_noext) | 164 out_name_noext) |
165 | 165 |
166 logger.debug("Copying page assets to: %s" % out_assets_dir) | 166 logger.debug("Copying page assets to: %s" % out_assets_dir) |
167 _ensure_dir_exists(out_assets_dir) | 167 _ensure_dir_exists(out_assets_dir) |
168 | 168 |
169 qualified_path.source.buildPageAssetor().copyAssets(page, out_assets_dir) | 169 qualified_page.source.buildPageAssetor(qualified_page, sub_uri).copyAssets(qualified_page, out_assets_dir) |
170 | 170 |
171 # Figure out if we have more work. | 171 # Figure out if we have more work. |
172 has_more_subs = False | 172 has_more_subs = False |
173 if sub_entry.anyPass(lambda p: p.pagination_has_more): | 173 if sub_entry.anyPass(lambda p: p.pagination_has_more): |
174 cur_sub += 1 | 174 cur_sub += 1 |