webcheck commit: r433 - webcheck/plugins
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
webcheck commit: r433 - webcheck/plugins
- From: Commits of the webcheck project <webcheck-commits [at] lists.arthurdejong.org>
 
- To: webcheck-commits [at] lists.arthurdejong.org
 
- Reply-to: webcheck-users [at] lists.arthurdejong.org
 
- Subject: webcheck commit: r433 - webcheck/plugins
 
- Date: Sun, 11 Sep 2011 17:33:26 +0200 (CEST)
 
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/
- webcheck commit: r433 - webcheck/plugins,
Commits of the webcheck project