[Pkg-bazaar-maint] Bug#736448: python-bzrlib: xdg_cache_dir() uses wrong environment variable
Jakub Wilk
jwilk at debian.org
Thu Jan 23 18:24:32 UTC 2014
Package: python-bzrlib
Version: 2.6.0-3
Severity: normal
config.py contains this:
def xdg_cache_dir():
# See http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html
# Possibly this should be different on Windows?
e = os.environ.get('XDG_CACHE_DIR', None)
if e:
return e
else:
return os.path.expanduser('~/.cache')
But according to the specification the environment variable name should
be XDG_CACHE_HOME, not XDG_CACHE_DIR.
--
Jakub Wilk
More information about the Pkg-bazaar-maint
mailing list