Revision: 3907
Author: wikipedian
Date: 2007-07-27 01:52:12 +0000 (Fri, 27 Jul 2007)
Log Message:
-----------
minor bugfix, with some luck this resolves bug [ 1747996 ]
"weblinkchecker - AttributeError"
Modified Paths:
--------------
trunk/pywikipedia/weblinkchecker.py
Modified: trunk/pywikipedia/weblinkchecker.py
===================================================================
--- trunk/pywikipedia/weblinkchecker.py 2007-07-26 22:52:45 UTC (rev 3906)
+++ trunk/pywikipedia/weblinkchecker.py 2007-07-27 01:52:12 UTC (rev 3907)
@@ -1,4 +1,4 @@
-# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
"""
This bot is used for checking external links found at the wiki. It checks
several pages at once, with a limit set by the config variable
@@ -474,7 +474,7 @@
Saves the .dat file to disk.
"""
datfile = open(self.datfilename, 'w')
- self.historyDict = pickle.dump(self.historyDict, datfile)
+ pickle.dump(self.historyDict, datfile)
datfile.close()
class DeadLinkReportThread(threading.Thread):
Show replies by thread