mirror of
https://opendev.org/x/pyghmi
synced 2025-08-26 13:00:31 +00:00
Run pep8 on files in bin/
Files in bin/ don't have a .py extension, and so don't get picked up by flake8. Add them to the flake8 command to have them checked. Also fix an existing error in bin/pyghmicons. Change-Id: I4db9b8c4e13c7c7f652acaa12add125f0e0458cd
This commit is contained in:
@@ -78,7 +78,7 @@ try:
|
||||
inputthread.daemon = True
|
||||
inputthread.start()
|
||||
sol.main_loop()
|
||||
except:
|
||||
except Exception:
|
||||
currfl = fcntl.fcntl(sys.stdin.fileno(), fcntl.F_GETFL)
|
||||
fcntl.fcntl(sys.stdin.fileno(), fcntl.F_SETFL, currfl ^ os.O_NONBLOCK)
|
||||
termios.tcsetattr(sys.stdin, termios.TCSANOW, tcattr)
|
||||
|
Reference in New Issue
Block a user