1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

we should never fsync during completion

This commit is contained in:
Joël Schaerer 2009-05-13 11:53:50 +02:00
parent 6b6bbd4c8b
commit 621ee1fc7f

View File

@ -135,7 +135,7 @@ else:
dirs.sort(key=lambda e:e[1],reverse=True)
if completion or not results: #if not found, try ignoring case. On completion always show all results
find_matches(dirs,pattern,path_dict,results,re_flags=re.IGNORECASE,max_matches=9)
if dead_dirs: #save the dict if there were some non-existent directories in the database
if dead_dirs and not completion: #save the dict if there were some non-existent directories in the database
save(path_dict,dic_file)
if userchoice!=-1: