Show More
@@ -54,7 +54,7 b' class PickleShareDB(collections.MutableMapping):' | |||||
54 | """ Return a db object that will manage the specied directory""" |
|
54 | """ Return a db object that will manage the specied directory""" | |
55 | self.root = Path(root).expanduser().abspath() |
|
55 | self.root = Path(root).expanduser().abspath() | |
56 | if not self.root.isdir(): |
|
56 | if not self.root.isdir(): | |
57 | self.root.makedirs() |
|
57 | self.root.makedirs_p() | |
58 | # cache has { 'key' : (obj, orig_mod_time) } |
|
58 | # cache has { 'key' : (obj, orig_mod_time) } | |
59 | self.cache = {} |
|
59 | self.cache = {} | |
60 |
|
60 |
General Comments 0
You need to be logged in to leave comments.
Login now