##// END OF EJS Templates
use universal-newline in pickleshare...
Min Ragan-Kelley -
Show More
@@ -67,7 +67,7 b' class PickleShareDB(collections.MutableMapping):'
67 return self.cache[fil][0]
67 return self.cache[fil][0]
68 try:
68 try:
69 # The cached item has expired, need to read
69 # The cached item has expired, need to read
70 obj = pickle.load(fil.open("rb"))
70 obj = pickle.loads(fil.open("rbU").read())
71 except:
71 except:
72 raise KeyError(key)
72 raise KeyError(key)
73
73
General Comments 0
You need to be logged in to leave comments. Login now