From b424b2af8b3e5097eb7e829d2a728a1720d5d0bd Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 13 Jul 2020 10:36:17 -0400 Subject: Missed (one?) script while converting to Python 3 --- scripts/build-attributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build-attributes b/scripts/build-attributes index 3b06305..52a154c 100755 --- a/scripts/build-attributes +++ b/scripts/build-attributes @@ -144,7 +144,7 @@ class AttributeNumbers(dict): if word[2] in self: continue if word[2].startswith("(CKF_ARRAY_ATTRIBUTE|"): - word[2] = word[2].translate(None, "()").split("|")[1] + word[2] = word[2].replace("(", "").replace(")", "").split("|")[1] self[word[1]] = int(word[2], 16) -- cgit v1.2.3