The following monkey patch should get Launchpad happy for now with
minimal effort:

$ python
Python 2.5.2 (r252:60911, May  7 2008, 15:21:12) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytz
>>> 'US/Pacific-New' in pytz.common_timezones
True
>>> for timezone_name in pytz.all_timezones[:]:
...     try:
...             ignored_tzinfo = pytz.timezone(timezone_name)
...     except:
...             pytz.all_timezones.remove(timezone_name)
...             pytz.common_timezones.remove(timezone_name)
... 
>>> 'US/Pacific-New' in pytz.common_timezones

-- 
OOPS setting US/Pacific-New timezone
https://bugs.launchpad.net/bugs/244681
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

Reply via email to