summaryrefslogtreecommitdiff
path: root/lib/thandy/ClientCLI.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-11-17 07:47:10 +0000
committerNick Mathewson <nickm@torproject.org>2008-11-17 07:47:10 +0000
commite2a414f0fc6b81d1f90c1eaa79fbe45c56436337 (patch)
tree702677fee04f105aa5740730fd3ed75d2c5ea5dd /lib/thandy/ClientCLI.py
parent0fb8f24a63da36b79e130019ab9c6436895b6f5b (diff)
Actually call the "flush the downloaded thing's state" callback on success so that we can notice that we got a new thing.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17313 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'lib/thandy/ClientCLI.py')
-rw-r--r--lib/thandy/ClientCLI.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/thandy/ClientCLI.py b/lib/thandy/ClientCLI.py
index 3a8b760..178c887 100644
--- a/lib/thandy/ClientCLI.py
+++ b/lib/thandy/ClientCLI.py
@@ -125,6 +125,8 @@ def update(args):
if rf != None:
rf.clear()
rf.load()
+ def failCb(): pass
+ dj.setCallbacks(successCb, failCb)
downloader.addDownloadJob(dj)