Enable environment variable expansion on Repository.localfolders

Commit e51ed80e claims to add tilde and environment variable expansion
to multiple locations including Repository.localfolders. However, this
particular options seems to have been missed in that commit, and
apparently no one noticed till date

Signed-off-by: Darshit Shah <darnir@gmail.com>
This commit is contained in:
Darshit Shah 2016-11-30 18:42:53 +01:00
parent ed79e56f8e
commit 1c9a364884
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class MaildirRepository(BaseRepository):
os.utime(cur_dir, (cur_atime, os.path.getmtime(cur_dir)))
def getlocalroot(self):
xforms = [os.path.expanduser]
xforms = [os.path.expanduser, os.path.expandvars]
return self.getconf_xform('localfolders', xforms)
def debug(self, msg):