Fix for DiskObjectStore._construct_path recieving extra keywords.

This commit is contained in:
Daniel Blankenberg
2012-04-02 11:00:56 -04:00
parent d9cba6dc3e
commit 30bc6da50a
+1 -1
View File
@@ -223,7 +223,7 @@ class DiskObjectStore(ObjectStore):
if not os.path.exists(path):
return self._construct_path(obj, base_dir=base_dir, dir_only=dir_only, extra_dir=extra_dir, extra_dir_at_root=extra_dir_at_root, alt_name=alt_name)
def _construct_path(self, obj, old_style=False, base_dir=None, dir_only=False, extra_dir=None, extra_dir_at_root=False, alt_name=None):
def _construct_path(self, obj, old_style=False, base_dir=None, dir_only=False, extra_dir=None, extra_dir_at_root=False, alt_name=None, **kwargs):
""" Construct the expected absolute path for accessing the object
identified by `obj`.id.