summaryrefslogtreecommitdiff
path: root/python/update.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-06-24 09:19:08 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-05 10:08:09 -0400
commitd37f7abfe4c1b23426b0fbdc85ae31788602ff28 (patch)
treeff106d8d52afc7cb4d85a1378a41e5c72a288c7d /python/update.py
parente0389d244e6211126267e060a9c61a1e75481b76 (diff)
Don't inherit from object anymore
Diffstat (limited to 'python/update.py')
-rw-r--r--python/update.py4
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