return deferred for proper command line behavior

This commit is contained in:
Nick 2011-02-17 15:30:14 +01:00
parent ce2516ab2c
commit 837322478b
1 changed files with 3 additions and 1 deletions

View File

@ -47,4 +47,6 @@ class Command(BaseCommand):
for key, value in status.items():
self.console.write("{!info!}%s: {!input!}%s" % (key, value))
client.core.get_cache_status().addCallback(on_cache_status)
d = client.core.get_cache_status()
d.addCallback(on_cache_status)
return d