@@ -44,7 +44,7 @@ def __init__(self, message, period):
4444 self .can_id = message .arbitration_id
4545 self .arbitration_id = message .arbitration_id
4646 self .period = period
47- super (CyclicSendTaskABC , self ).__init__ ()
47+ super ().__init__ ()
4848
4949
5050class LimitedDurationCyclicSendTaskABC (CyclicSendTaskABC ):
@@ -57,7 +57,7 @@ def __init__(self, message, period, duration):
5757 :param float duration:
5858 The duration to keep sending this message at given rate.
5959 """
60- super (LimitedDurationCyclicSendTaskABC , self ).__init__ (message , period )
60+ super ().__init__ (message , period )
6161 self .duration = duration
6262
6363
@@ -99,7 +99,7 @@ def __init__(self, channel, message, count, initial_period, subsequent_period):
9999 :param float initial_period:
100100 :param float subsequent_period:
101101 """
102- super (MultiRateCyclicSendTaskABC , self ).__init__ (channel , message , subsequent_period )
102+ super ().__init__ (channel , message , subsequent_period )
103103
104104
105105class ThreadBasedCyclicSendTask (ModifiableCyclicTaskABC ,
@@ -108,7 +108,7 @@ class ThreadBasedCyclicSendTask(ModifiableCyclicTaskABC,
108108 """Fallback cyclic send task using thread."""
109109
110110 def __init__ (self , bus , lock , message , period , duration = None ):
111- super (ThreadBasedCyclicSendTask , self ).__init__ (message , period , duration )
111+ super ().__init__ (message , period , duration )
112112 self .bus = bus
113113 self .lock = lock
114114 self .stopped = True
0 commit comments