Add debugging print statement for timestamp comparison

This commit is contained in:
David Stainton 2015-10-28 16:46:30 +01:00 committed by Daira Hopwood
parent dbe6395313
commit cb180192c1

View 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')