From e1c62b44df13bbc2b03644a41e46b40709386cce Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Tue, 31 Aug 2021 21:41:12 +0000 Subject: [PATCH] Get rid of two todos we are not going to do ever. --- bemani/utils/afputils.py | 1 - bemani/utils/struct.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/bemani/utils/afputils.py b/bemani/utils/afputils.py index 4a036a6..ce7df6a 100644 --- a/bemani/utils/afputils.py +++ b/bemani/utils/afputils.py @@ -385,7 +385,6 @@ def load_containers(renderer: AFPRenderer, containers: List[str], *, need_extras # This is a complicated one, as we need to be able to specify multiple # directories of files as well as support IFS files and TXP2 files. for container in containers: - # TODO: Allow specifying individual folders and such. with open(container, "rb") as bfp: data = bfp.read() diff --git a/bemani/utils/struct.py b/bemani/utils/struct.py index edde3a1..f968aab 100644 --- a/bemani/utils/struct.py +++ b/bemani/utils/struct.py @@ -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)