I really hate the "pass" line but I think we should try to make packagers job as easy as possible.
Maybe it's less ugly to put it that kind of way :
if not os.path.isdir(LOCALE_PATH):
f os.path.isdir('/usr/local/share/locale'):
LOCALE_PATH = '/usr/local/share/locale'
else:
LOCALE_PATH = '/usr/share/locale'
Luca F. > I let you decide if this patch is safe and could be included in 0.2. If you consider it's good, you have my vote.
I really hate the "pass" line but I think we should try to make packagers job as easy as possible.
Maybe it's less ugly to put it that kind of way :
if not os.path. isdir(LOCALE_ PATH): isdir(' /usr/local/ share/locale' ): share/locale'
f os.path.
LOCALE_PATH = '/usr/local/
else:
LOCALE_PATH = '/usr/share/locale'
Luca F. > I let you decide if this patch is safe and could be included in 0.2. If you consider it's good, you have my vote.