Skip to content
Snippets Groups Projects
Commit 050f65c2 authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[FIX] correct path for pytz datafiles

bzr revid: chs@openerp.com-20121130165026-3p6coxwignmzl92g
parent b2099e17
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ def data():
import pytz
tzdir = os.path.dirname(pytz.__file__)
for root, _, filenames in os.walk(os.path.join(tzdir, "zoneinfo")):
base = root[len(tzdir) + 1:]
base = os.path.join('pytz', root[len(tzdir) + 1:])
r[base] = [os.path.join(root, f) for f in filenames]
return r.items()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment