From c35823cc7d22cf65c4e5610b129144a957341a9e Mon Sep 17 00:00:00 2001 From: Tab Atkins Date: Thu, 4 Jan 2018 12:21:40 -0800 Subject: [PATCH] Make between-source joining behavior for colliding custom metadata match the within-source behavior, and just smush the lists together. Fixes #1161. --- bikeshed/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bikeshed/metadata.py b/bikeshed/metadata.py index 0f5a62624a..a821a0deba 100644 --- a/bikeshed/metadata.py +++ b/bikeshed/metadata.py @@ -833,7 +833,7 @@ def join(*sources): mdentry = knownKeys[k] md.addParsedData(k, getattr(mdsource, mdentry.attrName)) for k,v in mdsource.otherMetadata.items(): - md.otherMetadata[k] = v + md.otherMetadata[k].extend(v) return md @attr.s(slots=True, frozen=True)