fix typo in the warning message when the parent directory of the cache file does not exist

This commit is contained in:
Carl Chenet 2019-08-23 01:10:20 +02:00
parent b7f3b20f57
commit ec664e24d3

View file

@ -34,7 +34,7 @@ def parselock(lockfile, locktimeout, config):
lockfile = os.path.expanduser(lockfile) lockfile = os.path.expanduser(lockfile)
lockfileparent = os.path.dirname(lockfile) lockfileparent = os.path.dirname(lockfile)
if lockfileparent and not os.path.exists(lockfileparent): if lockfileparent and not os.path.exists(lockfileparent):
sys.exit('The parent directory of the cache file does not exist: {lockfileparent}'.format(lockfileparent=lockfileparent)) sys.exit('The parent directory of the lock file does not exist: {lockfileparent}'.format(lockfileparent=lockfileparent))
###################### ######################
# lock_timeout option # lock_timeout option
###################### ######################