[core/input] Move from select to epoll

Use epoll instead of select in order to be able to use level-triggered
semantics and not get stuck on the first event.
This commit is contained in:
Tobi-wan Kenobi 2016-12-17 07:43:38 +01:00
parent 31f9154be2
commit f6be25bc73
11 changed files with 67 additions and 48 deletions

View file

@ -25,7 +25,7 @@ def get_dnf_info(widget):
bugfixes = 0
enhancements = 0
other = 0
for line in res.decode().split("\n"):
for line in res.split("\n"):
if not line.startswith(" "): continue
elif "ecurity" in line: