From 8f5acfb4270d5055ead5de4ff9b8f93d1524e6ad Mon Sep 17 00:00:00 2001 From: Samuel Pei Date: Wed, 20 Nov 2024 17:34:50 -0500 Subject: [PATCH] Removed unused function --- ca_qc_kirkland/people.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ca_qc_kirkland/people.py b/ca_qc_kirkland/people.py index f6dd40e9..3ff3df41 100644 --- a/ca_qc_kirkland/people.py +++ b/ca_qc_kirkland/people.py @@ -8,15 +8,6 @@ class KirklandPersonScraper(CanadianScraper): def scrape(self): - def decode_email(e): - de = "" - k = int(e[:2], 16) - - for i in range(2, len(e) - 1, 2): - de += chr(int(e[i : i + 2], 16) ^ k) - - return de - page = self.lxmlize(COUNCIL_PAGE, "iso-8859-1") councillors = page.xpath('//table/tbody[not(@id)]/tr/td[@valign="top"]')