forked from platformio/platformio-core
Fix PyLint warning
This commit is contained in:
@ -28,7 +28,7 @@ def TouchSerialPort(env, port, baudrate):
|
|||||||
try:
|
try:
|
||||||
s = Serial(env.subst(port))
|
s = Serial(env.subst(port))
|
||||||
s.close()
|
s.close()
|
||||||
except:
|
except: # pylint: disable=W0702
|
||||||
pass
|
pass
|
||||||
s = Serial(port=env.subst(port), baudrate=baudrate)
|
s = Serial(port=env.subst(port), baudrate=baudrate)
|
||||||
s.setDTR(False)
|
s.setDTR(False)
|
||||||
|
Reference in New Issue
Block a user