diff options
author | Rob Austein <sra@hactrn.net> | 2020-07-13 10:36:17 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2020-07-13 10:36:17 -0400 |
commit | b424b2af8b3e5097eb7e829d2a728a1720d5d0bd (patch) | |
tree | 5447e14645c8031cca18eb199ae88a212d4298c7 | |
parent | 3b33d6df40d6c6b12611ece5c45592d95bd4c12c (diff) |
Missed (one?) script while converting to Python 3python3
-rwxr-xr-x | scripts/build-attributes | 2 |
1 files changed, 1 insertions, 1 deletions
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) |