From: Zac Medico Date: Thu, 16 Feb 2012 04:41:16 +0000 (-0800) Subject: EventLoop.timeout_add: fix inverted min interval X-Git-Tag: v2.2.0_alpha87~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=611ec3edf3695453639f2436049d0005f6e6f769;p=portage.git EventLoop.timeout_add: fix inverted min interval --- 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