From 8041475aab2b8efad7d2857027331bd626d26312 Mon Sep 17 00:00:00 2001 From: Agustin Henze Date: Wed, 26 Aug 2015 07:57:04 -0300 Subject: Imported Upstream version 7.6.4 --- nikola/plugins/misc/scan_posts.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nikola/plugins/misc/scan_posts.py') diff --git a/nikola/plugins/misc/scan_posts.py b/nikola/plugins/misc/scan_posts.py index a6f04e6..1f4f995 100644 --- a/nikola/plugins/misc/scan_posts.py +++ b/nikola/plugins/misc/scan_posts.py @@ -24,6 +24,8 @@ # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +"""The default post scanner.""" + from __future__ import unicode_literals, print_function import glob import os @@ -35,13 +37,13 @@ from nikola.post import Post class ScanPosts(PostScanner): - """Render pages into output.""" + + """Scan posts in the site.""" name = "scan_posts" def scan(self): """Create list of posts from POSTS and PAGES options.""" - seen = set([]) if not self.site.quiet: print("Scanning posts", end='', file=sys.stderr) -- cgit v1.2.3