I tracked where the error coming form. It's at the time of reading the
file
In local system the output is
>>> import os.path
>>> base = os.path.join(os.getcwd(), 'external_apps/pytz/zoneinfo')
>>> zone = 'Australia/Melbourne'
>>> fp = open(os.path.join(base, 'Australia', 'Melbourne'), 'rb')
>>>
Hi all
I have a problem with pytz.
In my local system i tried with pytz and its working fine
>>> from pytz.tzfile import build_tzinfo
>>> import os.path
>>> base = os.path.join(os.getcwd(), 'external_apps/pytz/zoneinfo')
>>> tz = build_tzinfo('US/Eastern', open(os.path.join(base, 'US', 'Easter
2 matches
Mail list logo