Comment 21 for bug 885163

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Verified on Lucid:

root@ubuntu:~# cat /etc/lsb-release |grep RELEASE
DISTRIB_RELEASE=10.04

root@ubuntu:~# dpkg-query -W -f='${Package}-${Version}\n' python-tz
python-tz-2010b-1

root@ubuntu:~# python ./test.py
Traceback (most recent call last):
  File "./test.py", line 7, in <module>
    local.dst()
ValueError: tzinfo.dst() returned 1440; must be in -1439 .. 1439

root@ubuntu:~# apt-get install python-tz
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libx86-1 libpciaccess0 vbetool libffi5 libhal1 hal libhal-storage1 python-dbus pm-utils smartdimmer radeontool hal-info python-gobject
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  python-tz
1 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
Need to get 44.0kB of archives.
After this operation, 0B of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid-proposed/universe python-tz 2010b-1ubuntu0.10.04.1 [44.0kB]
Fetched 44.0kB in 0s (760kB/s)
(Reading database ... 41916 files and directories currently installed.)
Preparing to replace python-tz 2010b-1 (using .../python-tz_2010b-1ubuntu0.10.04.1_all.deb) ...
Unpacking replacement python-tz ...
Setting up python-tz (2010b-1ubuntu0.10.04.1) ...

Processing triggers for python-central ...

root@ubuntu:~# python ./test.py
All is good, NOT hit by bug #885163!

root@ubuntu:~# dpkg-query -W -f='${Package}-${Version}\n' python-tz
python-tz-2010b-1ubuntu0.10.04.1
root@ubuntu:~#