[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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)