This commit is contained in:
Kovid Goyal 2012-09-14 19:04:49 +05:30
parent 4e4a594fba
commit 87fc87978b

View File

@ -204,7 +204,7 @@ class FilesystemCache(object):
except KeyError: except KeyError:
# Parent does not exist, set the parent to be the storage # Parent does not exist, set the parent to be the storage
# object # object
sid = p.storage_id sid = item.storage_id
if sid not in all_storage_ids: if sid not in all_storage_ids:
sid = all_storage_ids[0] sid = all_storage_ids[0]
item.parent_id = sid item.parent_id = sid