From 1efcb17d971666d334468149c5a604e76b5d9092 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 16 Dec 2015 19:22:40 -0600 Subject: Don't discard previous block when mkstatus finds another span tag with same id. --- scripts/mkstatus.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/mkstatus.py b/scripts/mkstatus.py index 3b1bbc8b..f9d3a1b0 100755 --- a/scripts/mkstatus.py +++ b/scripts/mkstatus.py @@ -11,7 +11,8 @@ def readit(args, shell=False): for i in blob.stdout.read().split("\n"): if not i: continue i=i.split() - ret[i[0]]=i[1:] + try: ret[i[0]].extend(i[1:]) + except: ret[i[0]]=i[1:] arr.extend(i) return ret,arr -- cgit v1.2.3