lists.arthurdejong.org
RSS feed

webcheck commit: r433 - webcheck/plugins

[Date Prev][Date Next] [Thread Prev][Thread Next]

webcheck commit: r433 - webcheck/plugins



Author: arthur
Date: Sun Sep 11 17:33:25 2011
New Revision: 433
URL: http://arthurdejong.org/viewvc/webcheck?revision=433&view=revision

Log:
fix ### more... links

Modified:
   webcheck/plugins/__init__.py

Modified: webcheck/plugins/__init__.py
==============================================================================
--- webcheck/plugins/__init__.py        Sun Sep  4 13:27:52 2011        (r432)
+++ webcheck/plugins/__init__.py        Sun Sep 11 17:33:25 2011        (r433)
@@ -147,11 +147,12 @@
       indent + '<div class="parents">\n' +
       indent + ' referenced from:\n' +
       indent + ' <ul>\n')
-    more = 0
+    more = link.count_parents
     for parent in parents:
         fp.write(
           indent + '  <li>%(parent)s</li>\n'
           % {'parent': make_link(parent)})
+        more -= 1
     if more:
         fp.write(
           indent + '  <li>%(more)d more...</li>\n'
-- 
To unsubscribe send an email to
webcheck-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/webcheck-commits/