From a7a0b2073f30b1d0214c3152998d95e40a39b438 Mon Sep 17 00:00:00 2001
From: Zhiming Wang <zmwangx@gmail.com>
Date: Tue, 5 May 2015 19:31:51 -0700
Subject: add feed icon to footer

Among other fixes and tweaks.
---
 pyblog | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'pyblog')

diff --git a/pyblog b/pyblog
index a1c0a848..cab2972c 100755
--- a/pyblog
+++ b/pyblog
@@ -2,8 +2,6 @@
 
 """A simple blog generator with Pandoc as backend."""
 
-# TODO: Feed icon next to the CC icon.
-
 import argparse
 from contextlib import contextmanager
 import datetime
@@ -360,6 +358,8 @@ def generate_blog(fresh=False, report_total_errors=True):
             os.mkdir(dstroot, mode=0o755)
 
         for name in files:
+            if name.startswith('.'):
+                continue
             extension = name.split(".")[-1]
             if extension not in ["css", "jpg", "md", "png", "svg", "ico"]:
                 continue
@@ -588,6 +588,7 @@ class HTTPServerProcess(multiprocessing.Process):
         """
 
         os.chdir(self.rootdir)
+        # pylint: disable=invalid-name
         HandlerClass = http.server.SimpleHTTPRequestHandler
         try:
             httpd = http.server.HTTPServer(("", 8000), HandlerClass)
-- 
cgit v1.2.1