Public bug reported:
This problem occurs on a fresh update of Ibex. It did not occur in
Hardy.
Importing the pytz module after the vobject module triggers the
following warning:
>>> import vobject, pytz
/usr/lib/python2.5/site-packages/pytz/__init__.py:29: UserWarning: Module
dateutil was already imported from
/var/lib/python-support/python2.5/dateutil/__init__.py, but
/var/lib/python-support/python2.5 is being added to sys.path
from pkg_resources import resource_stream
/usr/lib/python2.5/site-packages/pytz/__init__.py:29: UserWarning: Module
vobject was already imported from
/var/lib/python-support/python2.5/vobject/__init__.py, but
/var/lib/python-support/python2.5 is being added to sys.path
from pkg_resources import resource_stream
Importing the modules in the opposite order does not print a warning.
Perhaps there is a problem in the pytz module that it does not check for
modules that have already been imported?
** Affects: ubuntu
Importance: Undecided
Status: New
--
Python: importing pytz triggers warning
https://bugs.launchpad.net/bugs/281991
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs