diff options
author | Rob Landley <rob@landley.net> | 2015-12-16 19:22:40 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-12-16 19:22:40 -0600 |
commit | 1efcb17d971666d334468149c5a604e76b5d9092 (patch) | |
tree | 82e04c65c8276af0fc9abd5f5ee1d0a6cc3aa101 | |
parent | f96bb3d8e7ec3882c70b861b998d8573083ffe55 (diff) | |
download | toybox-1efcb17d971666d334468149c5a604e76b5d9092.tar.gz |
Don't discard previous block when mkstatus finds another span tag with same id.
-rwxr-xr-x | scripts/mkstatus.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |