Hlib Korzhynskyy has proposed merging ~hlibk/ubuntu-qa-tools:unembargo-warning
into ubuntu-qa-tools:master.
Requested reviews:
Ubuntu Bug Control (ubuntu-bugcontrol)
For more details, see:
https://code.launchpad.net/~hlibk/ubuntu-qa-tools/+git/ubuntu-qa-tools/+merge/477994
When running the un
Review: Needs Fixing
This won't work with older python versions AFAIK:
>>> datetime.datetime.now(datetime.UTC).replace(tzinfo=None)
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'datetime' has no attribute 'UTC'
--
https://code.launchpad.net/~hlibk/ubuntu-qa-t
Use this instead:
datetime.datetime.now(datetime.timezone.utc).replace(tzinfo=None)
--
https://code.launchpad.net/~hlibk/ubuntu-qa-tools/+git/ubuntu-qa-tools/+merge/477994
Your team Ubuntu Bug Control is subscribed to branch ubuntu-qa-tools:master.
__
3 matches
Mail list logo