diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-06-24 09:19:08 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-05 10:08:09 -0400 |
| commit | d37f7abfe4c1b23426b0fbdc85ae31788602ff28 (patch) | |
| tree | ff106d8d52afc7cb4d85a1378a41e5c72a288c7d /python/update.py | |
| parent | e0389d244e6211126267e060a9c61a1e75481b76 (diff) | |
Don't inherit from object anymore
Diffstat (limited to 'python/update.py')
| -rw-r--r-- | python/update.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/update.py b/python/update.py index 8d4611d6..5f3b55df 100644 --- a/python/update.py +++ b/python/update.py @@ -67,7 +67,7 @@ class _UpdateChannelMetaClass(type): return result -class UpdateProgressCallback(object): +class UpdateProgressCallback: def __init__(self, func): self.cb = ctypes.CFUNCTYPE(ctypes.c_bool, ctypes.c_void_p, ctypes.c_ulonglong, ctypes.c_ulonglong)(self.callback) self.func = func @@ -188,7 +188,7 @@ class UpdateChannel(metaclass=_UpdateChannelMetaClass): self._latest_version_num = value -class UpdateVersion(object): +class UpdateVersion: def __init__(self, channel, ver, notes, t): self._channel = channel self._version = ver |
