Commit 9073d1e0 authored by Matt Selsky's avatar Matt Selsky

pylint: remove unnecessary parenthesis

************* Module ntpq
C:1024, 0: Unnecessary parens after u'if' keyword (superfluous-parens)
C:1061, 0: Unnecessary parens after u'if' keyword (superfluous-parens)
************* Module ntpheatusb
C: 97, 0: Unnecessary parens after 'return' keyword (superfluous-parens)
parent 60ad0a67
Pipeline #11003928 (#) passed with stages
in 9 minutes and 52 seconds
......@@ -94,7 +94,7 @@ Discrete PID control
self.error = 0.0
def __repr__(self):
return ("D_value=%s, I_value=%s" % (self.D_value, self.I_value))
return "D_value=%s, I_value=%s" % (self.D_value, self.I_value)
def setPoint(self, set_point):
"""
......
......@@ -1021,7 +1021,7 @@ usage: writevar assocID name=value,[...]
if not idrange:
return
for associd in idrange:
if (associd != idrange[0]):
if associd != idrange[0]:
self.say("\n")
if not self.__dolist(self.uservars,
associd, ntp.control.CTL_OP_READVAR,
......@@ -1058,7 +1058,7 @@ usage: mrl assocIDlow assocIDhigh
return
varlist = line.split()[2:]
for associd in idrange:
if (associd != idrange[0]):
if associd != idrange[0]:
self.say("\n")
if not self.__dolist(varlist, associd,
ntp.control.CTL_OP_READVAR,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment