From: Andrew Engelbrecht Date: Tue, 21 Jul 2015 23:51:13 +0000 (-0400) Subject: avoid a certain type of bug X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e33518c8bea1c93232dc7a49c47b42b6937903a9;p=edward.git avoid a certain type of bug --- diff --git a/edward b/edward index b490e42..8fa5d33 100755 --- a/edward +++ b/edward @@ -218,6 +218,9 @@ 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: