pytz.timezone() should also catch the IOError and throw a pytz.UnknownTimeZoneError even though it is very unlikely to occur if pytz.all_timezones_set is clean, but that also depends on whether they are preloaded or if all_timezones_set is just verified with os.path.isfile().
-- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs