Comment 2 for bug 1259383

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo-incubator (master)

Reviewed: https://review.openstack.org/61007
Committed: https://git.openstack.org/cgit/openstack/oslo-incubator/commit/?id=ae931a937ea95fc13d873d4c71de7d0407dd5fb5
Submitter: Jenkins
Branch: master

commit ae931a937ea95fc13d873d4c71de7d0407dd5fb5
Author: Michael Wilson <email address hidden>
Date: Mon Dec 9 21:26:34 2013 -0700

    Avoid TypeError in is_older_than, is_newer_than

    datetime doesn't like to subtract offset-naive and
    offset-aware datetimes. To fix this we convert all
    datetimes that are passed in to offset-naive objects.

    Change-Id: Ib01568c9d287e319750b6bef3656fdcfc992a1b1
    Closes-Bug: #1259383