Commits

dan mackinlay committed 8e6890a

minor tidies

  • Participants
  • Parent commits 05d3a43

Comments (0)

Files changed (1)

File feed/sphinxcontrib/feed/__init__.py

 
 def process_latest_toc(app, doctree, fromdocname):
     """We traverse the doctree looking for publication dates to build the
-    date-based ToC here. Since the ordering is ill-defined, from our
-    perspective, we parse all of them each time, but cache them in the
-    environment"""
+    date-based ToC here. Since the order in whicih documents are processed is
+    ill-defined, from our perspective, we parse all of them each time, but
+    cache them in the environment"""
 
     env = app.builder.env
     cache_article_dates(env)
         app.config.feed_filename
 
 def cache_article_dates(env):
-    #This should only be run once, although currently it is run many times,
-    # wasting CPU cycles
+    # This should only be run once, although currently it is run many times,
+    # wasting CPU cycles.
     
     if not hasattr(env, 'feed_pub_dates'):
         env.feed_pub_dates = {}