Restore the log event that the integration tests depend on

This commit is contained in:
Jean-Paul Calderone 2019-02-27 09:12:09 -05:00
parent 432aaa2904
commit 3b804d84bf

View File

@ -1645,6 +1645,10 @@ class Downloader(QueueMixin, WriteFileMixin):
while True:
try:
yield self._scan_remote_collective(scan_self=True)
# The integration tests watch for this log message to
# decide when it is safe to proceed. Clearly, we need
# better programmatic interrogation of magic-folder state.
print("Completed initial Magic Folder scan successfully ({})".format(self))
self._begin_processing()
return
except Exception: