Py2 -> Py3: do not inherit classes from object
https://stackoverflow.com/questions/4015417/why-do-python-classes-inherit-object/45062077
Change-Id: I15003ba591510d68f3235f71526ad5d8a456088e
diff --git a/pySim/filesystem.py b/pySim/filesystem.py
index 7c5d49a..37c668d 100644
--- a/pySim/filesystem.py
+++ b/pySim/filesystem.py
@@ -49,7 +49,7 @@
# tuple: logical-and of the listed services requires this file
CardFileService = Union[int, List[int], Tuple[int, ...]]
-class CardFile(object):
+class CardFile:
"""Base class for all objects in the smart card filesystem.
Serve as a common ancestor to all other file types; rarely used directly.
"""
@@ -1230,7 +1230,7 @@
self.shell_commands = [self.ShellCommands()]
-class RuntimeState(object):
+class RuntimeState:
"""Represent the runtime state of a session with a card."""
def __init__(self, card, profile: 'CardProfile'):
@@ -1648,7 +1648,7 @@
cmd_app.unregister_command_set(c)
-class FileData(object):
+class FileData:
"""Represent the runtime, on-card data."""
def __init__(self, fdesc):
@@ -1676,7 +1676,7 @@
return None
-class CardApplication(object):
+class CardApplication:
"""A card application is represented by an ADF (with contained hierarchy) and optionally
some SW definitions."""