From 6fcb74bda2308d8cd3881c7755bb41020771dc70 Mon Sep 17 00:00:00 2001 From: Tomas Touceda Date: Thu, 18 Apr 2013 16:20:43 -0300 Subject: Fix comment since we won't check for encryption before encrypting the email blob --- src/leap/mx/mail_receiver.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/leap/mx/mail_receiver.py') diff --git a/src/leap/mx/mail_receiver.py b/src/leap/mx/mail_receiver.py index 001d476..9636591 100644 --- a/src/leap/mx/mail_receiver.py +++ b/src/leap/mx/mail_receiver.py @@ -53,8 +53,7 @@ class EventHandler(pyinotify.ProcessEvent): uuid = _get_uuid(owner, self._user, self._password, self._server) # get the pubkey for uuid pubkey = _get_pubkey(uuid, self._user, self._password, self._server) - # if the message isn't encrypted already: - # encrypt the message to the pubkey + # encrypt the message to the pubkey encrypted = _encrypt_message(pubkey, mail_data) # save the message in a couchdb if _export_message(uuid, encrypted, self._user, self._password, self._server): -- cgit v1.2.3