[Buildbot-commits] [djmitche/buildbot] d6d855: Work around the fact that twisted 2.5 doesn't have...

noreply at github.com noreply at github.com
Wed Mar 24 16:27:56 UTC 2010


Branch: refs/heads/master
Home:   http://github.com/djmitche/buildbot

Commit: d6d8554819b5877f61b6b68007134f8e8e8ddcac
    http://github.com/djmitche/buildbot/commit/d6d8554819b5877f61b6b68007134f8e8e8ddcac
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-03-24 (Wed, 24 Mar 2010)

Changed paths:
  M buildbot/slave/commands/base.py
  M buildbot/util/__init__.py
  M buildbot/util/loop.py

Log Message:
-----------
Work around the fact that twisted 2.5 doesn't have reactor.seconds.

Add an optional _reactor argument to util.now.  If set, and if _reactor
has a "seconds" attribute, it will be used to determine the current
time.  Otherwise time.time() is used.

Update slave commands and loop to use util.now(self._reactor) instead of
self._reactor.seconds() to determine the current time.

Fixes: #759






More information about the Commits mailing list