1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00
This commit is contained in:
Joel Schaerer 2009-02-13 23:27:10 +01:00
parent ff5c978079
commit d4eae3ef98

View File

@ -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