Get rid of two todos we are not going to do ever.

This commit is contained in:
Jennifer Taylor
2021-08-31 21:41:12 +00:00
parent 3dd3f36208
commit e1c62b44df
2 changed files with 0 additions and 4 deletions
-3
View File
@@ -173,9 +173,6 @@ class StructPrinter:
# Hex makes no sense here
if dohex:
raise Exception("Cannot display string as hex!")
# TODO: We should have an optional encoding specifier that can be added to "z"
# so that individual entries in strings can be overridden from the default.
line.append(bs.decode(self.default_encoding))
else:
size = struct.calcsize(prefix + spec)