From f85cec5fe75e9fb94a398d7d04211750342081f7 Mon Sep 17 00:00:00 2001 From: Antoine Taillefer Date: Tue, 10 Nov 2015 14:51:17 +0100 Subject: [PATCH] NXDRIVE-471: Fix logs when synchronizing a remote move (were making Windows build fail) --- nuxeo-drive-client/nxdrive/engine/processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuxeo-drive-client/nxdrive/engine/processor.py b/nuxeo-drive-client/nxdrive/engine/processor.py index 2b92805ee2..9528fd6aa5 100644 --- a/nuxeo-drive-client/nxdrive/engine/processor.py +++ b/nuxeo-drive-client/nxdrive/engine/processor.py @@ -612,7 +612,7 @@ def _synchronize_remotely_modified(self, doc_pair, local_client, remote_client): moved_name = doc_pair.remote_name if is_renaming else doc_pair.local_name # NXDRIVE-471: log old_path = doc_pair.local_path - new_path = local_client._abspath(new_parent_pair.local_path + '/' + moved_name) + new_path = new_parent_pair.local_path + '/' + moved_name log.debug("DOC_PAIR(%r): old_path[%d][%r]: %s, new_path[%d][%r]: %s", doc_pair, local_client.exists(old_path), local_client.get_remote_id(old_path), old_path, local_client.exists(new_path), local_client.get_remote_id(new_path), new_path)