Revision: 6706 Author: cosoleto Date: 2009-04-25 10:25:33 +0000 (Sat, 25 Apr 2009)
Log Message: ----------- Removed useless/empty comments.
Modified Paths: -------------- trunk/pywikipedia/copyright.py
Modified: trunk/pywikipedia/copyright.py =================================================================== --- trunk/pywikipedia/copyright.py 2009-04-25 09:20:15 UTC (rev 6705) +++ trunk/pywikipedia/copyright.py 2009-04-25 10:25:33 UTC (rev 6706) @@ -874,8 +874,6 @@ """
def __init__(self, url, URLExcl): - """ - """ global source_seen self.URLexcludedlist = URLExcl.URLlist
@@ -921,9 +919,6 @@ return None
def get(self, force = False): - """ - """ - # Exclude URL with listed file extension. if self._url[-4:] in [".pdf", ".doc", ".ppt"]: raise URL_exclusion @@ -1021,20 +1016,12 @@
class CheckRobot: def __init__(self, generator): - """ - """ self.generator = generator self.SearchEngine = SearchEngine()
def run(self): - """ - Starts the robot. - """ - # Run the generator which will yield Pages which might need to be - # checked. for page in self.generator: try: - # Load the page's text from the wiki original_text = page.get() except wikipedia.NoPage: wikipedia.output(u'Page %s not found' % page.title())
pywikipedia-svn@lists.wikimedia.org