mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
bugfix
This commit is contained in:
parent
ff5c978079
commit
d4eae3ef98
2
autojump
2
autojump
@ -92,7 +92,7 @@ else:
|
||||
break
|
||||
else: uniqadd(results,path)
|
||||
if completion:
|
||||
for p in results: print p
|
||||
print " ".join(results)
|
||||
cPickle.dump(path_dict,open(dic_file+".tmp",'w'),-1)
|
||||
import shutil
|
||||
shutil.copy(dic_file+".tmp",dic_file) #cPickle.dump doesn't seem to be atomic, so this is more secure
|
||||
|
Loading…
Reference in New Issue
Block a user