From 4b943ec81ebdc1582de77b529dbec1419e611af5 Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Thu, 10 Jan 2013 09:56:33 -0700 Subject: [PATCH] tos-storage-stm25p: fix family support The original commit, 125997899ab48cee5128a2dbf89776a4f446935d contained an error where no family file would cause program abort. --- tools/tinyos/misc/tos-storage-stm25p.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tinyos/misc/tos-storage-stm25p.in b/tools/tinyos/misc/tos-storage-stm25p.in index 4d8013dc..9ef1428f 100644 --- a/tools/tinyos/misc/tos-storage-stm25p.in +++ b/tools/tinyos/misc/tos-storage-stm25p.in @@ -152,7 +152,7 @@ def parseHeader( dotfile ): paths.append(path) return paths except: - return None + return [] def findFile( paths, filename ): """ Find the first occurrence of 'filename' in the list of paths given. """ -- 2.39.2