mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 07:06:41 +00:00
Get rid of last returnValue use
Supporting it with Eliot is challenging and we don't actually need it.
This commit is contained in:
parent
1d97486c29
commit
354dceda79
@ -1572,10 +1572,9 @@ class Downloader(QueueMixin, WriteFileMixin):
|
||||
|
||||
while True:
|
||||
try:
|
||||
data = yield self._scan_remote_collective(scan_self=True)
|
||||
yield self._scan_remote_collective(scan_self=True)
|
||||
self._begin_processing()
|
||||
defer.returnValue(data)
|
||||
break
|
||||
return
|
||||
except Exception:
|
||||
self._status_reporter(
|
||||
False, "Initial scan has failed",
|
||||
|
@ -57,3 +57,6 @@ import sys
|
||||
if sys.platform == "win32":
|
||||
from allmydata.windows.fixups import initialize
|
||||
initialize()
|
||||
|
||||
from eliot import to_file
|
||||
to_file(open("eliot.log", "w"))
|
||||
|
Loading…
Reference in New Issue
Block a user