From: R. Steve McKown Date: Thu, 10 Jan 2013 16:56:33 +0000 (-0700) Subject: tos-storage-stm25p: fix family support X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=4b943ec81ebdc1582de77b529dbec1419e611af5 tos-storage-stm25p: fix family support The original commit, 125997899ab48cee5128a2dbf89776a4f446935d contained an error where no family file would cause program abort. --- 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. """