Fix PyLint warning

This commit is contained in:
Ivan Kravets
2015-05-14 23:13:20 +02:00
parent 91be0fad5d
commit b8a9afb6fb

View File

@ -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)