don't pass back the object pointer
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Wed, 22 Jul 2015 15:49:56 +0000 (11:49 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 7 Dec 2015 18:28:39 +0000 (13:28 -0500)
because it is unchanged.

edward

diff --git a/edward b/edward
index c05a35034dfdaac5e60ed3353331014acaddc793..edff8c7c709dc5eb7eaa7f968eb570d234c67c5d 100755 (executable)
--- a/edward
+++ b/edward
@@ -139,8 +139,8 @@ def parse_pgp_mime (email_text, gpgme_ctx):
     email_struct = email.parser.Parser().parsestr(email_text)
 
     eddy_obj = parse_mime(email_struct)
-    eddy_obj = split_payloads(eddy_obj)
-    eddy_obj = gpg_on_payloads(eddy_obj, gpgme_ctx)
+    split_payloads(eddy_obj)
+    gpg_on_payloads(eddy_obj, gpgme_ctx)
 
     return eddy_obj
 
@@ -242,8 +242,6 @@ def split_payloads (eddy_obj):
     for match_type in match_types:
         do_to_eddys_pieces(split_payload_pieces, eddy_obj, match_type)
 
-    return eddy_obj
-
 
 def split_payload_pieces (eddy_obj, match_type):
 
@@ -260,8 +258,6 @@ def gpg_on_payloads (eddy_obj, gpgme_ctx):
 
     do_to_eddys_pieces(gpg_on_payload_pieces, eddy_obj, gpgme_ctx)
 
-    return eddy_obj
-
 
 def gpg_on_payload_pieces (eddy_obj, gpgme_ctx):