# HG changeset patch # User Goffi # Date 1520008661 -3600 # Node ID 4e5cc45e2be74be11b088034ffb207313e6b675b # Parent 4c45df43ea4491c4c564b85a3989ae4c88c52159 core (memory): fixed _getParentDir call in setFile diff -r 4c45df43ea44 -r 4e5cc45e2be7 src/memory/memory.py --- a/src/memory/memory.py Fri Mar 02 17:36:43 2018 +0100 +++ b/src/memory/memory.py Fri Mar 02 17:37:41 2018 +0100 @@ -1281,7 +1281,7 @@ if peer_jid is None: peer_jid = owner # _getParentDir will check permissions if peer_jid is set - parent, remaining_path_elts = self._getParentDir(client, path, parent, namespace, owner, owner, perms_to_check) + parent, remaining_path_elts = yield self._getParentDir(client, path, parent, namespace, owner, owner, perms_to_check) # if remaining directories don't exist, we have to create them for new_dir in remaining_path_elts: new_dir_id = shortuuid.uuid()