From dd69bb2b08dec65b135c382418791e49f37b9cd5 Mon Sep 17 00:00:00 2001 From: David Stainton <dstainton415@gmail.com> Date: Wed, 28 Oct 2015 16:46:30 +0100 Subject: [PATCH] Add debugging print statement for timestamp comparison --- src/allmydata/frontends/magic_folder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index 52a146bb..ba33c824 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -710,6 +710,7 @@ class Downloader(QueueMixin, WriteFileMixin): else: dmd_last_uploaded_uri = metadata.get('last_uploaded_uri', None) local_last_uploaded_uri = self._db.get_last_uploaded_uri(relpath_u) + print ">>>> if %r != %r" % (dmd_last_uploaded_uri, local_last_uploaded_uri) if dmd_last_uploaded_uri != local_last_uploaded_uri: is_conflict = True self._count('objects_conflicted') -- 2.45.2