generic-poky/bitbake/lib/bb/ui
Elliot Smith 903c3c2ef8 bitbake: buildinfohelper: ensure task datetimes are timezone-aware
When using toaster-eventreplay to run a bitbake event file
through toasterui/buildinfohelper, errors occur when the
tasks are updated with buildstats info:

  RuntimeWarning: DateTimeField Task.started received a naive
  datetime (2016-07-06 09:15:22.070000) while time zone support
  is active.

This is because a method in buildinfohelper returns a naive
datetime, but Django is expecting timezone-aware datetimes.

Ensure that datetimes used to set the started/ended times on
tasks are converted to timezone-aware datetimes.

(Bitbake rev: df9f4337bec87024ea6a43138c6080a755eb7fab)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-08 09:57:28 +01:00
..
icons bitbake: Add missing file that went out of sync 2013-06-12 13:13:21 +01:00
__init__.py Formatting cleanups 2010-07-02 15:41:32 +01:00
buildinfohelper.py bitbake: buildinfohelper: ensure task datetimes are timezone-aware 2016-07-08 09:57:28 +01:00
depexp.py bitbake: depexp.py: port to gtk+3 2016-06-20 17:23:56 +01:00
knotty.py bitbake: knotty: Handle process indicators more gracefully 2016-07-08 09:57:27 +01:00
ncurses.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
toasterui.py bitbake: toasterui: capture keyboard interrupts the same way as knotty 2016-05-17 14:43:30 +01:00
uievent.py bitbake: bitbake: fix wrong usage of format_exc 2016-06-16 11:51:26 +01:00
uihelper.py bitbake: lib: implement basic task progress support 2016-07-08 09:57:26 +01:00