diff options
Diffstat (limited to 'bitbake/lib/bb/ui/buildinfohelper.py')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index d5ba629306..447670cb8b 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -125,7 +125,7 @@ class ORMWrapper(object): | |||
125 | """ | 125 | """ |
126 | Convert timestamp in seconds to Python datetime | 126 | Convert timestamp in seconds to Python datetime |
127 | """ | 127 | """ |
128 | return datetime(1970, 1, 1) + timedelta(seconds=secs) | 128 | return timezone.make_aware(datetime(1970, 1, 1) + timedelta(seconds=secs)) |
129 | 129 | ||
130 | # pylint: disable=no-self-use | 130 | # pylint: disable=no-self-use |
131 | # we disable detection of no self use in functions because the methods actually work on the object | 131 | # we disable detection of no self use in functions because the methods actually work on the object |