don't process 'None' EddyMsg objects
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Wed, 22 Jul 2015 15:50:38 +0000 (11:50 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 7 Dec 2015 18:28:39 +0000 (13:28 -0500)
it would only mask bugs elsewhere in the code.

edward

diff --git a/edward b/edward
index edff8c7c709dc5eb7eaa7f968eb570d234c67c5d..cec1570c5827d7e345439c01c54a5476ca4e830c 100755 (executable)
--- a/edward
+++ b/edward
@@ -224,9 +224,6 @@ def get_subpart_data (part):
 
 def do_to_eddys_pieces (function_to_do, eddy_obj, data):
 
-    if eddy_obj == None:
-        return []
-
     if eddy_obj.multipart == True:
         result_list = []
         for sub in eddy_obj.subparts: