[or-cvs] r17313: {updater} Actually call the "flush the downloaded thing's state" callb (updater/trunk/lib/thandy)

nickm at seul.org nickm at seul.org
Mon Nov 17 07:47:10 UTC 2008


Author: nickm
Date: 2008-11-17 02:47:10 -0500 (Mon, 17 Nov 2008)
New Revision: 17313

Modified:
   updater/trunk/lib/thandy/ClientCLI.py
Log:
Actually call the "flush the downloaded thing's state" callback on success so that we can notice that we got a new thing.

Modified: updater/trunk/lib/thandy/ClientCLI.py
===================================================================
--- updater/trunk/lib/thandy/ClientCLI.py	2008-11-17 07:46:11 UTC (rev 17312)
+++ updater/trunk/lib/thandy/ClientCLI.py	2008-11-17 07:47:10 UTC (rev 17313)
@@ -125,6 +125,8 @@
                 if rf != None:
                     rf.clear()
                     rf.load()
+            def failCb(): pass
+            dj.setCallbacks(successCb, failCb)
 
             downloader.addDownloadJob(dj)
 



More information about the tor-commits mailing list