Bug#776752: uu: install_start_time = datetime.datetime.now() should be computed early

2015-02-04 Thread Alexandre Detiste
Hi, Thats really interessting, I assumed the = relation would have helped here :/ I googled this even further the most pythonic way to do it would be install_start_time = datetime.datetime.now().replace(microsecond=0) Then the race is completely gone. -- To UNSUBSCRIBE, email to

Bug#776752: uu: install_start_time = datetime.datetime.now() should be computed early

2015-02-04 Thread Michael Vogt
On Sun, Feb 01, 2015 at 11:48:50AM +0100, Alexandre Detiste wrote: Package: unattended-upgrades Version: 0.83.3 Severity: minor Tags: patch Thanks for your bugreport and your patch! [..] Due to truncating of time values less than a second, the dpkg log is sometimes not found; and if

Bug#776752: uu: install_start_time = datetime.datetime.now() should be computed early

2015-02-01 Thread Alexandre Detiste
Package: unattended-upgrades Version: 0.83.3 Severity: minor Tags: patch Dear Maintainer, Due to truncating of time values less than a second, the dpkg log is sometimes not found; and if stanza_start = install_start_time: doens't work as expected. It is easy to fix, the line install_start_time