From c2df900c316ccf27e5a4c143088e055dd71b5e5c Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 2 Dec 2010 10:58:36 +0000 Subject: [PATCH] Reorganisation of code in the extract-email tool --- tools/extract-emails.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/extract-emails.py b/tools/extract-emails.py index 3787155..783be87 100755 --- a/tools/extract-emails.py +++ b/tools/extract-emails.py @@ -33,8 +33,7 @@ for char in chars: name = unicodedata.normalize('NFKD', char.name).encode('ASCII', 'ignore') charname = re.sub('[^a-zA-Z0-9_-]+', '', name) if char.eveaccount_set.all()[0].user: - email = char.eveaccount_set.all()[0].user.email - out[charname.lower()] = email + out[charname.lower()] = char.eveaccount_set.all()[0].user.email for key in out: