mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix PyLint warning
This commit is contained in:
@ -28,7 +28,7 @@ def TouchSerialPort(env, port, baudrate):
|
||||
try:
|
||||
s = Serial(env.subst(port))
|
||||
s.close()
|
||||
except:
|
||||
except: # pylint: disable=W0702
|
||||
pass
|
||||
s = Serial(port=env.subst(port), baudrate=baudrate)
|
||||
s.setDTR(False)
|
||||
|
Reference in New Issue
Block a user