Add debugging print statement for timestamp comparison
authorDavid Stainton <dstainton415@gmail.com>
Wed, 28 Oct 2015 15:46:30 +0000 (16:46 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 28 Dec 2015 16:18:54 +0000 (16:18 +0000)
src/allmydata/frontends/magic_folder.py

index 52a146bb53a037f5310dab282d500d277d04b43f..ba33c824ddeac0951eb7638966c314586bb8f324 100644 (file)
@@ -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')