aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xasn1/utils/asn1tostruct.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/utils/asn1tostruct.py b/asn1/utils/asn1tostruct.py
index d71d87d..9b1c1a1 100755
--- a/asn1/utils/asn1tostruct.py
+++ b/asn1/utils/asn1tostruct.py
@@ -91,8 +91,8 @@ def getUniqueIENameForDefine(ies, ie):
if ie_other[2] == ie[2]:
unique = False
assert ie[0] != ie_other[0], "failed to find a unique name for" \
- f" IE {ie}. Found another entry in ies {ie_other}" \
- " that has the same ie[0] value."
+ " IE {}. Found another entry in ies {}" \
+ " that has the same ie[0] value.".format(ie, ie_other)
if unique:
ret = ie[2]