From: Maxious Date: Wed, 09 Jan 2013 23:54:59 +0000 Subject: disable diffing for now X-Git-Url: https://maxious.lambdacomplex.org/git/?p=disclosr.git&a=commitdiff&h=e7db5a9197475f0484b1950de3f6418e1f63cd44 --- disable diffing for now Former-commit-id: 145b72d8e4e5766e0659785c9291aa5d482ca40b --- --- a/documents/genericScrapers.py +++ b/documents/genericScrapers.py @@ -66,9 +66,9 @@ last_attach = scrape.getLastAttachment(scrape.docsdb, self.getURL()) if last_attach != None: html_diff = difflib.HtmlDiff() - description = description + "\nChanges: " - description = description + html_diff.make_table(last_attach.read().split('\n'), - content.split('\n')) + #description = description + "\nChanges: " + #description = description + html_diff.make_table(last_attach.read().split('\n'), + # content.split('\n')) edate = date.today().strftime("%Y-%m-%d") doc = {'_id': dochash, 'agencyID': self.getAgencyID() , 'url': self.getURL(), 'docID': dochash,