mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
Merge pull request #544 from adqm/completer_cache_bugfix
bug fix for cache validation in completer
This commit is contained in:
commit
3f3a50884e
1 changed files with 1 additions and 1 deletions
|
@ -422,8 +422,8 @@ class Completer(object):
|
|||
self._path_checksum = path_hash
|
||||
# did aliases change?
|
||||
al_hash = hash(tuple(sorted(builtins.aliases.keys())))
|
||||
self._alias_checksum = al_hash
|
||||
cache_valid = cache_valid and al_hash == self._alias_checksum
|
||||
self._alias_checksum = al_hash
|
||||
pm = self._path_mtime
|
||||
# did the contents of any directory in PATH change?
|
||||
for d in filter(os.path.isdir, path):
|
||||
|
|
Loading…
Add table
Reference in a new issue