diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-02-15 20:41:16 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-02-15 20:41:16 -0800 |
commit | 611ec3edf3695453639f2436049d0005f6e6f769 (patch) | |
tree | e85f9962c20c0351277d94cef252175d78f03d17 /pym/portage | |
parent | 46107423f4a039af6528d14cb86123a05a67f85f (diff) | |
download | portage-611ec3edf3695453639f2436049d0005f6e6f769.tar.gz portage-611ec3edf3695453639f2436049d0005f6e6f769.tar.bz2 portage-611ec3edf3695453639f2436049d0005f6e6f769.zip |
EventLoop.timeout_add: fix inverted min interval
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/util/_eventloop/EventLoop.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/util/_eventloop/EventLoop.py b/pym/portage/util/_eventloop/EventLoop.py index af0c6a502..f6f9fc54b 100644 --- a/pym/portage/util/_eventloop/EventLoop.py +++ b/pym/portage/util/_eventloop/EventLoop.py @@ -238,7 +238,7 @@ class EventLoop(object): self._timeout_handler_class( interval=interval, function=function, args=args, source_id=source_id, timestamp=time.time()) - if self._timeout_interval is None or self._timeout_interval < interval: + if self._timeout_interval is None or self._timeout_interval > interval: self._timeout_interval = interval return source_id |